LinuxCommandLibrary

exercism

Download and submit Exercism exercises

TLDR

Configure the application token and the preferred workspace for Exercism

$ exercism configure --token=[your-application-token] --workspace=[/path/to/preferred/workspace]
copy

Download a specific exercise
$ exercism download --exercise=[exercise_slug] --track=[track_slug]
copy

Submit an exercise
$ exercism submit [path/to/file]
copy

Print the path to the solution workspace
$ exercism workspace
copy

SYNOPSIS

exercism command [ flags ]

PARAMETERS

configure
    Configures the exercism client with your Exercism API key and other settings.

download exercise_id
    Downloads a specific exercise from Exercism.

submit file
    Submits a solution to Exercism.

status
    Displays the status of pending exercises.

reset exercise_id
    Resets a downloaded exercise to its initial state.

track language
    Configures the track (language) you are learning on exercism

workspace
    Opens your workspace directory for exercism on your computer

help
    Displays help information.

DESCRIPTION

The exercism command is a command-line interface (CLI) tool that facilitates interaction with the Exercism platform, an online platform offering coding exercises in various programming languages. It allows users to download exercises to their local machine, submit solutions, and track their progress. Instead of working directly on the website, you can develop your code locally using your preferred editor and tools. The exercism CLI handles the communication with the Exercism servers, making it a convenient way to engage with the platform's learning resources.
It streamlines the process of contributing to the platform as well. It also can configure the platform to start your learning experience.

CAVEATS

Requires an Exercism account and API key. Some commands might require an active internet connection.

AUTHENTICATION

Before using exercism, you need to configure it with your API key obtained from the Exercism website. Run exercism configure --token=your_api_key to set up authentication.

WORKFLOW

A typical workflow involves downloading an exercise (exercism download), solving it locally, and then submitting the solution (exercism submit).

HISTORY

The exercism CLI tool has been developed and maintained by the Exercism community. It has evolved over time to support new features of the Exercism platform and to improve the user experience.

SEE ALSO

git(1)

Copied to clipboard