|
| 1 | +# Configure |
1 | 2 | complete -f -c exercism -a "configure" -d "Writes config values to a JSON file."
|
| 3 | +complete -f -c exercism -n "__fish_seen_subcommand_from configure" -s t -l token -d "Set token" |
| 4 | +complete -f -c exercism -n "__fish_seen_subcommand_from configure" -s w -l workspace -d "Set workspace" |
| 5 | +complete -f -c exercism -n "__fish_seen_subcommand_from configure" -s a -l api -d "set API base url" |
| 6 | +complete -f -c exercism -n "__fish_seen_subcommand_from configure" -s s -l show -d "show settings" |
| 7 | + |
| 8 | +# Download |
2 | 9 | complete -f -c exercism -a "download" -d "Downloads and saves a specified submission into the local system"
|
| 10 | +complete -f -c exercism -n "__fish_seen_subcommand_from download" -s e -l exercise -d "the exercise slug" |
| 11 | +complete -f -c exercism -n "__fish_seen_subcommand_from download" -s h -l help -d "help for download" |
| 12 | +complete -f -c exercism -n "__fish_seen_subcommand_from download" -s T -l team -d "the team slug" |
| 13 | +complete -f -c exercism -n "__fish_seen_subcommand_from download" -s t -l track -d "the track ID" |
| 14 | +complete -f -c exercism -n "__fish_seen_subcommand_from download" -s u -l uuid -d "the solution UUID" |
| 15 | + |
| 16 | +# Help |
3 | 17 | complete -f -c exercism -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" |
| 19 | + |
| 20 | +# Open |
4 | 21 | complete -f -c exercism -a "open" -d "Opens a browser to exercism.io for the specified submission."
|
| 22 | +complete -f -c exercism -n "__fish_seen_subcommand_from open" -s h -l help -d "help for open" |
| 23 | + |
| 24 | +# Submit |
5 | 25 | complete -f -c exercism -a "submit" -d "Submits a new iteration to a problem on exercism.io."
|
| 26 | +complete -f -c exercism -n "__fish_seen_subcommand_from submit" -s h -l help -d "help for submit" |
| 27 | + |
| 28 | +# Troubleshoot |
6 | 29 | complete -f -c exercism -a "troubleshoot" -d "Outputs useful debug information."
|
| 30 | +complete -f -c exercism -n "__fish_seen_subcommand_from troubleshoot" -s f -l full-api-key -d "display full API key (censored by default)" |
| 31 | +complete -f -c exercism -n "__fish_seen_subcommand_from troubleshoot" -s h -l help -d "help for troubleshoot" |
| 32 | + |
| 33 | +# Upgrade |
7 | 34 | complete -f -c exercism -a "upgrade" -d "Upgrades to the latest available version."
|
| 35 | +complete -f -c exercism -n "__fish_seen_subcommand_from help" -s h -l help -d "help for help" |
| 36 | + |
| 37 | +# Version |
8 | 38 | complete -f -c exercism -a "version" -d "Outputs version information."
|
| 39 | +complete -f -c exercism -n "__fish_seen_subcommand_from version" -s l -l latest -d "check latest available version" |
| 40 | +complete -f -c exercism -n "__fish_seen_subcommand_from version" -s h -l help -d "help for version" |
| 41 | + |
| 42 | +# Workspace |
9 | 43 | complete -f -c exercism -a "workspace" -d "Outputs the root directory for Exercism exercises."
|
| 44 | +complete -f -c exercism -n "__fish_seen_subcommand_from workspace" -s h -l help -d "help for workspace" |
| 45 | + |
| 46 | +# Options |
10 | 47 | complete -f -c exercism -s h -l help -d "show help"
|
11 | 48 | complete -f -c exercism -l timeout -a "(seq 0 100 100000)" -d "override default HTTP timeout"
|
12 | 49 | complete -f -c exercism -s v -l verbose -d "turn on verbose logging"
|
0 commit comments