Skip to content

Releases: exercism/cli

Minor usability fixes

30 May 16:56
Compare
Choose a tag to compare

Exercism Command-Line Interface (CLI)

Exercism takes place in two places: the discussions happen on the website, and you work on exercises locally. The CLI bridges the gap, allowing you to fetch exercises and submit solutions to the site.

This is a stand-alone binary, which means that you don't need to install any particular language or environment in order to use it.

To install, download the archive that matches your operating system and architecture, unpack the archive, and put the binary somewhere on your path.

You will need to configure the CLI with your Exercism API Key before submitting.

For more detailed instructions, see the CLI page on Exercism.

Recent Changes

This mostly updates usage strings and various feedback after running commands to make the tool easier to use.

Improve user-facing error messages, fix broken upgrade command on linux

02 Apr 20:49
Compare
Choose a tag to compare

Exercism Command-Line Interface (CLI)

Exercism takes place in two places: the discussions happen on the website, and you work on exercises locally. The CLI bridges the gap, allowing you to fetch exercises and submit solutions to the site.

This is a stand-alone binary, which means that you don't need to install any particular language or environment in order to use it.

To install, download the archive that matches your operating system and architecture, unpack the archive, and put the binary somewhere on your path.

You will need to configure the CLI with your Exercism API Key before submitting.

For more detailed instructions, see the CLI page on Exercism.

Recent Changes

  • If you try to submit a directory to exercism, the error message now makes sense.
  • The output from the debug command is improved for users who have not configured their API key.
  • Upgrade command was broken on Linux, this is now fixed.
  • The list of commands in the usage statement has been alphabetized, which makes it a bit easier to read/navigate.
  • Improve the "fetch" hint in the list command using the first problem in the language listed as the example.

There were also a number of improvements to the contributing documentation.

Bugfixes and small improvements

28 Jan 19:18
Compare
Choose a tag to compare

Exercism Command-Line Interface (CLI)

Exercism takes place in two places: the discussions happen on the website, and you work on exercises locally. The CLI bridges the gap, allowing you to fetch exercises and submit solutions to the site.

This is a stand-alone binary, which means that you don't need to install any particular language or environment in order to use it.

To install, download the archive that matches your operating system and architecture, unpack the archive, and put the binary somewhere on your path.

You will need to configure the CLI with your Exercism API Key before submitting.

For more detailed instructions, see the CLI page on Exercism.

Recent Changes

  • You can now submit a comment along with your solution! exercism submit path/to/file1.ext path/to/file2.ext --comment "I simplified the frobs using wicklets."
  • Removed verbose encouragement after submitting, as it quickly became noise.
  • Fixed a bug in downloads for exercises that have subdirectories (in the problem or the solution)
  • We create files in 0644 instead of 0755. If you need the executable bit, you'll have to chmod it yourself.
  • Increase the timeout to 20 seconds so that slower connections have a chance to complete their calls.
  • Print the current configuration after calling the configure command.

Debug build for #267

03 Jan 19:40
Compare
Choose a tag to compare
Debug build for #267 Pre-release
Pre-release

Removing client timeout according to #267

Fix version flag

27 Dec 20:01
Compare
Choose a tag to compare

Exercism Command-Line Interface (CLI)

Exercism takes place in two places: the discussions happen on the website, and you work on exercises locally. The CLI bridges the gap, allowing you to fetch exercises and submit solutions to the site.

This is a stand-alone binary, which means that you don't need to install any particular language or environment in order to use it.

To install, download the archive that matches your operating system and architecture, unpack the archive, and put the binary somewhere on your path.

You will need to configure the CLI with your Exercism API Key before submitting.

For more detailed instructions, see the CLI page on Exercism.

Recent Changes

  • Fix the --version flag so that it outputs just the version, not the entire help text.

Bugfixes and improved messaging

27 Dec 02:14
Compare
Choose a tag to compare

Exercism Command-Line Interface (CLI)

Exercism takes place in two places: the discussions happen on the website, and you work on exercises locally. The CLI bridges the gap, allowing you to fetch exercises and submit solutions to the site.

This is a stand-alone binary, which means that you don't need to install any particular language or environment in order to use it.

To install, download the archive that matches your operating system and architecture, unpack the archive, and put the binary somewhere on your path.

You will need to configure the CLI with your Exercism API Key before submitting.

For more detailed instructions, see the CLI page on Exercism.

Recent Changes

  • Improved error messages when submit fails.
  • Reduced file-system noise on on fetch. Now if you say exercism fetch it will only fetch exercises for language tracks that you have directories for in your exercism directory.
  • Unsubmit has been disabled for security reasons. You can still delete an iteration through the web interface.

Patch release -- bug fixes and improvements

11 Aug 14:06
Compare
Choose a tag to compare

A couple of bug fixes and improvements to the user experience have been made to the CLI.

  • unsubmit command will let the user know that it does not take any arguments if arguments are given.
  • Error messages from upgrade command have been improved along with a longer timeout for upgrade.
  • -v global flag has been removed as it was never working as intended. We've also fixed the -verbose output.
  • Paths in the configuration file will now be absolute paths only.

Minor release -- adds 'upgrade' command

27 Jun 17:41
Compare
Choose a tag to compare

In addition to the new exercism upgrade command, this also improves the error handling around the confusing invalid character < error.

For more details about how to install and use, see http://cli.exercism.io/.

Fix regression in configuration on windows

13 May 13:54
Compare
Choose a tag to compare

This release fixes a regression in how windows paths were handled when configuring the client.

Additionally, it loosens the restrictions on the --test flag that was introduced in the previous release, so that a test file might be included with other files in addition to being submitted alone.

More flexibility, fewer bugs

08 May 14:05
Compare
Choose a tag to compare

Enhancements in this release:

  • If you're a linux user, you may be pleased that we now respect $XDG_CONFIG_HOME.
  • Allow people to specify a target directory for the demo, instead of putting everything in ~/exercism/*
  • Add support for a --test flag to allow submitting a test file in the solution.

Several bugfixes made it into this release as well:

  • Handle different file encodings in submissions
  • Handle config as either directory or file
  • Fix nested path issue when downloading problems