Client gem for the warmup-exercise app exercism.io.
$ gem install exercism
$ exercism login
You will be asked for your GitHub username, and an exercism.io API key. The API key is displayed when you log in to the exercism.io website.
$ exercism fetch
This retrieves the README and test suite for your current assignment.
$ exercism submit example.rb
This submits example.rb
on your current assignment.
$ exercism stash save example.rb
This saves 'example.rb' to exercism.io as an unfinished "stash" file that can be retrieved later. Helpful for use on multiple computers: stash the file you're working on at computer 1, then retrieve it with the loot command on computer 2.
$ exercism stash apply example.rb
This retrieves the most recent stash file, if one exists, and saves it to the current directory.
$ export EXERCISM_ENV=development
Reveals stack traces on errors.
By default, Exercism will create a config file in the base of your home directory, i.e. ~/.exercism
. This file can be moved to ~/.config/exercism
if desired.
- Fork it
- 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 new Pull Request