README.md in mercenary-0.1.0 vs README.md in mercenary-0.2.0
- old
+ new
@@ -32,10 +32,23 @@
c.action do |args, options|
Jekyll::Commands::New.process(args)
end
end
+ p.command(:build) do |c|
+ c.syntax "jekyll build [options]"
+ c.description "Builds your Jekyll site"
+
+ c.option 'safe', '--safe', 'Run in safe mode'
+ c.option 'source', '--source DIR', 'From where to collect the source files'
+ c.option 'destination', '--dest DIR', 'To where the compiled files should be written'
+
+ c.action do |_, options|
+ Jekyll::Commands::Build.process(options)
+ end
+ end
+
p.command(:import) do |c|
c.syntax "jekyll import <platform> [options]"
c.description "Import your old blog to Jekyll"
c.action do |args, options|
@@ -49,9 +62,11 @@
end
Jekyll::Commands::Import.process(args.first, options)
end
end
+
+ p.default_command(:build)
end
```
## Contributing