File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ complete -f -c exercism -n "__fish_seen_subcommand_from download" -s u -l uuid -
1515
1616# Help
1717complete -f -c exercism -n " __fish_use_subcommand" -a " help" -d " Shows a list of commands or help for one command"
18- complete -f -c exercism -n " __fish_seen_subcommand_from help" -a " configure download help open submit troubleshoot upgrade version workspace"
18+ complete -f -c exercism -n " __fish_seen_subcommand_from help" -a " configure download help open submit test troubleshoot upgrade version workspace"
1919
2020# Open
2121complete -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
2525complete -f -c exercism -n " __fish_use_subcommand" -a " submit" -d " Submits a new iteration to a problem on exercism.io."
2626complete -f -c exercism -n " __fish_seen_subcommand_from submit" -s h -l help -d " help for submit"
2727
28+ # Test
29+ complete -f -c exercism -n " __fish_use_subcommand" -a " test" -d " Run the exercise's tests."
30+ complete -f -c exercism -n " __fish_seen_subcommand_from submit" -s h -l help -d " help for test"
31+
2832# Troubleshoot
2933complete -f -c exercism -n " __fish_use_subcommand" -a " troubleshoot" -d " Outputs useful debug information."
3034complete -f -c exercism -n " __fish_seen_subcommand_from troubleshoot" -s f -l full-api-key -d " display full API key (censored by default)"
Original file line number Diff line number Diff line change @@ -7,7 +7,7 @@ _exercism () {
77 opts=" --verbose --timeout"
88
99 commands=" configure download open
10- submit troubleshoot upgrade version workspace help"
10+ submit test troubleshoot upgrade version workspace help"
1111 config_opts=" --show"
1212 version_opts=" --latest"
1313
Original file line number Diff line number Diff line change @@ -8,6 +8,7 @@ options=(configure:"Writes config values to a JSON file."
88 download:" Downloads and saves a specified submission into the local system"
99 open:" Opens a browser to exercism.io for the specified submission."
1010 submit:" Submits a new iteration to a problem on exercism.io."
11+ test:" Run the exercise's tests."
1112 troubleshoot:" Outputs useful debug information."
1213 upgrade:" Upgrades to the latest available version."
1314 version:" Outputs version information."
You can’t perform that action at this time.
0 commit comments