Commit Graph

114 Commits

Author SHA1 Message Date
Clint Shryock
f4c8bcc317 Add -D short-form switch for drafts
Add -D short-form switch for the drafts option, to compliment --drafts
2013-08-07 16:01:21 -05:00
Parker Moore
5fb13d8047 Create a default command to run help if there are no arguments but to fail with non-zero exit code if the command is invalid.
Props to @ggilder.
2013-07-22 10:04:45 +02:00
Parker Moore
0358d520d3 Add 'docs' subcommand. Solves #1043. 2013-07-09 22:50:15 +02:00
zachgersh
a21031eae9 Added a --blank command which scaffolds empty files. 2013-06-18 07:57:58 -07:00
Giuseppe Capizzi
788ab57109 Fix #1173 2013-06-06 16:24:04 +02:00
scribu
09d229de33 make bin/jekyll executable
`bundle install` makes it executable and it should be anyway, since it
has the hashbang at the top.
2013-05-23 20:35:07 +03:00
Casey Lang
2ce39bc20a Add '--force' to 'new' command. Implements #1104 2013-05-15 17:29:27 -05:00
Parker Moore
b355ef6469 Add jekyll doctor command 2013-05-11 17:49:20 +02:00
uu59
94756340cd Remove to_i. Let commander gem do it #1004 2013-04-29 15:56:02 +09:00
Parker Moore
5a20fa4382 --plugins can now accept plugin directories. Fixes #993. 2013-04-23 01:50:57 +02:00
Parker Moore
e531925cae Fixes multiple config loading. Closes #973. Rel: #945. 2013-04-14 23:04:20 +02:00
Parker Moore
a355762190 Run Jekyll::Deprecator.process upon invocation of Jekyll 2013-04-13 18:04:37 +02:00
Alex Kessinger
1e209c9bf3 Upgrade --config to accept an array of files 2013-04-10 11:38:49 -07:00
Parker Moore
dbb3dd3a1a Move port and host configuration options to Jekyll::DEFAULTS so Commander doesn't override in serving awkwardly. 2013-04-07 23:55:04 +02:00
Parker Moore
1526aa3b1d Fix cascade problem with site.baseurl. Fixes #931. 2013-04-07 22:47:55 +02:00
Lucas Jenss
88bd349ca9 Fix import command parameters
Apparently, the Commander gem treats options as boolean values
when one does not indicate that a certain options is followed
by a string. This led to the jekyll-import gem only receiving
booleans instead of dbname/user/pwd...
2013-03-31 22:49:07 +02:00
Parker Moore
d6e0e5e297 Syncing STDOUT. Fixes #625. 2013-03-19 22:22:46 +01:00
Parker Moore
9726bd625d Whitespace issue in bin/jekyll 2013-03-17 15:46:46 +01:00
Parker Moore
aa7a234c18 Merge master into jekyll-new 2013-03-17 15:45:37 +01:00
Parker Moore
7a57451962 Add --config switch to build and serve commands. 2013-03-16 14:54:44 +01:00
Tom Preston-Werner
2b9b613687 Normalize CLI options to match configuration expectations. 2013-03-03 18:23:02 -08:00
Tom Preston-Werner
4caf613be8 Merge branch 'drafts' of https://github.com/scribu/jekyll into scribu-drafts 2013-03-03 12:57:55 -08:00
Tom Preston-Werner
197f52b0e6 Fix jekyll-import LoadError message. 2013-03-03 12:51:25 -08:00
Parker Moore
c042a77496 Merge pull request #788 from mojombo/add-opts
Add 2 opts back into bin/jekyll
2013-02-20 13:13:42 -08:00
Brett Hardin
03e2e8d063 Changing help message to reflect what actually happens when running build and serve 2013-02-20 09:37:19 -08:00
Parker Moore
f002ee4f9f Merge pull request #792 from mojombo/alias-serve-to-server
Aliased jekyll server to jekyll serve
2013-02-03 09:55:14 -08:00
Parker Moore
f5137850e4 Using abort instead of puts & exit when jekyll-import gem isn't available. 2013-02-03 01:24:38 +01:00
Parker Moore
82f29bb627 The jekyll-import gem provides Jekyll::Commands::Import, not Jekyll::Commands::Migrate. 2013-01-31 00:18:54 +01:00
Parker Moore
b70c59667c Requiring jekyll-import gem. Printing error and exiting if it does not exist. 2013-01-30 23:43:26 +01:00
Parker Moore
221c2f4c0e Aliased jekyll server to jekyll serve 2013-01-30 23:30:04 +01:00
Parker Moore
6e8202f9a6 Added in --limit-posts 2013-01-30 22:04:56 +01:00
Parker Moore
7023a5e622 Added the --future switch back to the CLI 2013-01-30 21:56:54 +01:00
Parker Moore
a8671ed52b Using modularized commands (Jekyll::Commands) as per @tombell's latest PR merge 2013-01-27 23:17:45 +01:00
Parker Moore
f3856a444a Added command to primary binary. 2013-01-27 23:16:34 +01:00
scribu
c48de6b320 add drafts.feature 2013-01-20 05:23:56 +02:00
scribu
0ad623fb85 first pass at --drafts flag 2013-01-20 05:23:56 +02:00
Tom Bell
e03f48085a Update command classes moving into a module 2013-01-19 22:36:46 +00:00
Tom Bell
9c517c6d7d Rename migrate command to import 2013-01-11 00:32:39 +00:00
Tom Bell
e3bd250e69 Remove old jekyll command 2013-01-09 23:42:57 +00:00
Tom Bell
b70b57cb89 Merge branch 'master' into 'jekyll-command-redux' 2013-01-09 23:40:27 +00:00
Tom Preston-Werner
b36c9788ac Merge branch 'master' of https://github.com/enure/jekyll into enure-master 2012-12-31 14:22:24 -08:00
Tom Bell
b7944c5274 Add initial MigrateCommand
Not all migrators can actually be calld from the comand line. Some require
options which are not passed in and have to be called by other means.
2012-12-19 17:50:21 +00:00
Tom Bell
9c65ceb22d Remove comments 2012-12-19 16:56:08 +00:00
Tom Bell
d298e2bd57 Add LSI option for build and serve commands 2012-12-19 16:44:03 +00:00
Tom Bell
4578c15a24 Add TODOs for current switches 2012-12-19 16:34:03 +00:00
Tom Bell
053c2eb0a7 Rename Args to Options in command docs 2012-12-19 14:13:32 +00:00
Tom Bell
be20a03bb9 Update to make the help command default 2012-12-19 14:09:02 +00:00
Tom Bell
dc139e2ac9 Update the sym->str key conversion 2012-12-18 22:13:17 +00:00
Tom Bell
bd1c8fe760 Update Jekyll.configuration to convert symbol keys
Because Commander uses symbol keys in the options hash and I don't want to go
back backport every hash string key to symbols in Jekyll. 
2012-12-18 21:55:00 +00:00
Tom Bell
72f99eb8a7 Update global options and command descriptions 2012-12-18 21:18:05 +00:00