Skip to content

Releases: exercism/cli

Fix upgrade command on Windows

01 Jul 18:51
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

  • @Tonkpils fixed the exercism upgrade command for Windows! 🎉

Additional command-line options and bugfixes.

25 Mar 04:37
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

Additions and Improvements

  • Make the CLI config paths more XDG friendly
  • Add ARMv8 binaries to CLI releases
  • Print confirmation when fetching --all
  • Add option to redact API key from debug output
  • Add short flag -m for submit comment flag
  • Allow obfuscation on configure command
  • Use supplied confirmation text from API on submit

Bugfixes

  • Fallback to UTF-8 if encoding is uncertain
  • Fix case sensitivity on slug and track ID
  • Resolve symlinks before attempting to read files

Fetch all track exercises + Usability fixes

08 Aug 01:21
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

  • Added the --all flag to the fetch command which will fetch all exercises for a given track.
  • The status command will now display an error message if the API key has not been setup.
  • Improved the usage/help text for the submit command.

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.