Linux command
exercism 命令
文本
复制后可按需替换文件名、目录或参数。
常用示例
Configure with token
exercism configure --token=[your_token]
Download exercise
exercism download --track=[python] --exercise=[hello-world]
Submit solution
exercism submit [solution.py]
List available tracks
exercism tracks
Show workspace path
exercism workspace
Open exercise in browser
exercism open [path/to/exercise]
说明
exercism is the CLI for Exercism, a platform for learning programming languages through practice exercises. It downloads exercises, submits solutions, and manages your local workspace. The tool integrates with the Exercism website, allowing iteration on exercises with mentor feedback. It supports dozens of programming language tracks.
参数
- configure
- Set up CLI with API token.
- download
- Download an exercise.
- submit
- Submit solution for review.
- tracks
- List available language tracks.
- workspace
- Show workspace directory.
- open
- Open exercise in browser.
- --track _name_
- Programming language track.
- --exercise _name_
- Exercise name.
- --token _token_
- API token for authentication.
- --force
- Overwrite existing files.
FAQ
What is the exercism command used for?
exercism is the CLI for Exercism, a platform for learning programming languages through practice exercises. It downloads exercises, submits solutions, and manages your local workspace. The tool integrates with the Exercism website, allowing iteration on exercises with mentor feedback. It supports dozens of programming language tracks.
How do I run a basic exercism example?
Run `exercism configure --token=[your_token]` in a terminal, then adjust file names, paths, flags, or remote targets for your system.
What does configure do in exercism?
Set up CLI with API token.