Magellan::Cli
TODO: Write a gem description
Installation
Add this line to your application's Gemfile:
gem 'magellan-cli'
And then execute:
$ bundle
Or install it yourself as:
$ gem install magellan-cli
Usage
generate reference pages
LANG=en DEST=. SUBDIR=reference/$LANG bundle exec rake reference
LANG=ja DEST=. SUBDIR=reference/$LANG bundle exec rake reference
export DEVCENTER_DIR=/path/to/magellan-devcenter.github.io
LANG=en DEST=$DEVCENTER_DIR SUBDIR=reference/magellan-cli/$LANG bundle exec rake reference
LANG=ja DEST=$DEVCENTER_DIR SUBDIR=reference/magellan-cli/$LANG bundle exec rake reference
then
cd /path/to/magellan-devcenter.github.io
bundle exec jekyll serve
open http://localhost:4000/reference/magellan-cli/en open http://localhost:4000/reference/magellan-cli/ja
After check the pages, you can commit the .md files to magellan-devcenter.github.io repogitory.
Contributing
- Fork it ( https://github.com/[my-github-username]/magellan-cli/fork )
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create a new Pull Request