diff --git a/CHANGELOG.md b/CHANGELOG.md index 6398a756a..959baeab4 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,11 @@ The exercism CLI follows [semantic versioning](http://semver.org/). - **Your contribution here** +## v3.4.2 (2024-08-20) + +- [#1156](https://github.com/exercism/cli/pull/1156) Add `test` command to Shell completions - + [@muzimuzhi] + ## v3.4.1 (2024-08-15) - [#1152](https://github.com/exercism/cli/pull/1152) Add support for Idris to `exercism test` - diff --git a/RELEASE.md b/RELEASE.md index 35a02dbf1..d5ba8ad4a 100644 --- a/RELEASE.md +++ b/RELEASE.md @@ -24,7 +24,7 @@ _Note: It's useful to add the version to the commit message when you bump it: e. Once the version bump PR has been merged, run the following command to cut a release: ```shell -GPG_FINGERPINT="" ./bin/release.sh +GPG_FINGERPRINT="" ./bin/release.sh ``` ## Cut Release on GitHub diff --git a/cmd/version.go b/cmd/version.go index 300ba8f72..147c8e0b9 100644 --- a/cmd/version.go +++ b/cmd/version.go @@ -9,7 +9,7 @@ import ( // Version is the version of the current build. // It follows semantic versioning. -const Version = "3.4.1" +const Version = "3.4.2" // checkLatest flag for version command. var checkLatest bool diff --git a/shell/exercism.fish b/shell/exercism.fish index dc20fdce0..28702a48f 100644 --- a/shell/exercism.fish +++ b/shell/exercism.fish @@ -15,7 +15,7 @@ complete -f -c exercism -n "__fish_seen_subcommand_from download" -s u -l uuid - # Help complete -f -c exercism -n "__fish_use_subcommand" -a "help" -d "Shows a list of commands or help for one command" -complete -f -c exercism -n "__fish_seen_subcommand_from help" -a "configure download help open submit troubleshoot upgrade version workspace" +complete -f -c exercism -n "__fish_seen_subcommand_from help" -a "configure download help open submit test troubleshoot upgrade version workspace" # Open complete -f -c exercism -n "__fish_use_subcommand" -a "open" -d "Opens a browser to exercism.io for the specified submission." @@ -25,6 +25,10 @@ complete -f -c exercism -n "__fish_seen_subcommand_from open" -s h -l help -d "h complete -f -c exercism -n "__fish_use_subcommand" -a "submit" -d "Submits a new iteration to a problem on exercism.io." complete -f -c exercism -n "__fish_seen_subcommand_from submit" -s h -l help -d "help for submit" +# Test +complete -f -c exercism -n "__fish_use_subcommand" -a "test" -d "Run the exercise's tests." +complete -f -c exercism -n "__fish_seen_subcommand_from submit" -s h -l help -d "help for test" + # Troubleshoot complete -f -c exercism -n "__fish_use_subcommand" -a "troubleshoot" -d "Outputs useful debug information." complete -f -c exercism -n "__fish_seen_subcommand_from troubleshoot" -s f -l full-api-key -d "display full API key (censored by default)" diff --git a/shell/exercism_completion.bash b/shell/exercism_completion.bash index f5f4e9010..6864ec153 100644 --- a/shell/exercism_completion.bash +++ b/shell/exercism_completion.bash @@ -7,7 +7,7 @@ _exercism () { opts="--verbose --timeout" commands="configure download open - submit troubleshoot upgrade version workspace help" + submit test troubleshoot upgrade version workspace help" config_opts="--show" version_opts="--latest" diff --git a/shell/exercism_completion.zsh b/shell/exercism_completion.zsh index 424b24e67..5d476ac66 100644 --- a/shell/exercism_completion.zsh +++ b/shell/exercism_completion.zsh @@ -8,6 +8,7 @@ options=(configure:"Writes config values to a JSON file." download:"Downloads and saves a specified submission into the local system" open:"Opens a browser to exercism.io for the specified submission." submit:"Submits a new iteration to a problem on exercism.io." + test:"Run the exercise's tests." troubleshoot:"Outputs useful debug information." upgrade:"Upgrades to the latest available version." version:"Outputs version information."