-
Notifications
You must be signed in to change notification settings - Fork 3
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
Adding long list -l
format and hidden file support to secrets ls
command
#278
Comments
This name isn't really good. Separate the 2 issues by scope. And name these issues by their specific scope. |
Continuation of blah blah. Is not a good name. Please fix this and review all issue names @tegefaulkes |
secrets ls
command-l
format and hidden file support to secrets ls
command
Note that generally we always support long options as well. And the problem is that these short options may conflict with options that PK CLI already does. Something we may need to be clear or implement in our CLI framework is positional key arguments, where Another way is where So how should we solve this…? |
So examining other commands including Git and Docker, they do have a strict placement of global options before the subcommand and local options on the subcommand. That is:
So in our case, that could also be true. One example of global option is This appears to be placed in
One could argue that in this case, it is rare for a conflict to occur. But these options should then be able to be in the position like I still like to auto-inherit the meaning of the global option, because it's just convenient to write |
Specification
In the previous issue, #245 (ENG-358), listing the contents of a single directory was implemented instead of listing the contents of the entire vault. This issue now includes the remaining tasks for: long format listing, showing hidden files, using wildcards and specifying multiple paths.
The
secrets ls
command will list the contents of a directory.There are 3 main features to support here.
-l
-a
stdin
is ignoredAdditional context
Related #32
Continuation of #245 (ENG-358)
Tasks
-l
format.
should be hidden unless-a
is used.The text was updated successfully, but these errors were encountered: