-
-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
create: allow creating of exercise #845
Changes from all commits
992e2ea
9406ba2
322f2d1
4d6445f
46e9b45
dd8c152
3abb434
f205ee7
e127ad0
6b10b40
00f3189
11c73cd
dc8d3d0
3813173
21998f0
b28d864
182fc6d
e4a0e53
bb15c83
e4afe61
df22c84
a5cbf57
8846c98
dbc65d8
531c62d
7b7a835
1915ba5
5f53e64
1035394
26bfed4
77bb4a5
a564e73
bac7ac2
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ complete -c configlet -n "__fish_use_subcommand" -a lint -d "Check the tra | |
|
||
# subcommands with options | ||
complete -c configlet -n "__fish_use_subcommand" -a completion -d "Output a completion script for a given shell" | ||
complete -c configlet -n "__fish_use_subcommand" -a create -d "Add a new approach or article" | ||
complete -c configlet -n "__fish_use_subcommand" -a create -d "Add a new exercise, approach or article" | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not really familiar with how to configure this (the two new create options) for the fish shell. Would you mind taking a look? |
||
complete -c configlet -n "__fish_use_subcommand" -a fmt -d "Format the exercise '.meta/config.json' files" | ||
complete -c configlet -n "__fish_use_subcommand" -a info -d "Track info" | ||
complete -c configlet -n "__fish_use_subcommand" -a sync -d "Check or update Practice Exercise docs, metadata, and tests" | ||
|
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,7 +11,7 @@ _configlet_commands() { | |
"lint:Check the track configuration for correctness" \ | ||
# subcommands with options | ||
"completion:Output a completion script for a given shell" \ | ||
"create:Add a new approach or article" \ | ||
"create:Add a new exercise, approach or article" \ | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. I'm not really familiar with how to configure this (the two new create options) for the zsh shell. Would you mind taking a look? |
||
"fmt:Format the exercise '.meta/config.json' files" \ | ||
"info:Print track information" \ | ||
"sync:Check or update Practice Exercise docs, metadata, and tests" \ | ||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I don't like the option description here. But unfortunately it's common to all of the
--exercise
descriptions, I think.