How do we want the CLI UX to be for acting on "all" the things #6018
Replies: 2 comments 2 replies
-
Personally, if we expect folks to want
Especially where there's no alternative to |
Beta Was this translation helpful? Give feedback.
-
Adding my comments from our related discussion on the #6114 PR:
|
Beta Was this translation helpful? Give feedback.
-
From #5961 (comment) I went through the CLI and found all of the instances where we're doing an action that includes all of something.
meltano config <plugin> list
# lists all settings for a given pluginmeltano discover all
# discover all pluginsmeltano install
# installs all pluginsmeltano job list
# list all jobsmeltano schedule list
# list all schedulesmeltano select <plugin> --list --all
# list all available entities and attributesmeltano test --all
# run all tests for all pluginsmeltano test <plugin>
# run all tests for one pluginmeltano lock --all
#proposed - TBDthis is fairly inconsistent behavior across the entire command line.
My initial vote would be to have
--all
be the flag and the recommended way to do things, but then be backwards compatible with the current behavior for some commands:meltano config <plugin> list
- keep samemeltano discover all
-->meltano discover --all
- perhapsmeltano discover
could work as wellmeltano install
-->meltano install --all
keep current behavior stillmeltano job list
-->meltano job list --all
keep current behavior stillmeltano schedule list
-->meltano schedule list --all
keep current behavior stillmeltano select <plugin> --list --all
- I think keep the same?meltano test --all
--> addmeltano test
as a less preferred optionmeltano test <plugin>
-->meltano test <plugin> --all
keep current behavior stillmeltano lock --all
#proposed - perhaps still allowmeltano lock
@meltano/engineering @DouweM @pnadolny13 thoughts?
Beta Was this translation helpful? Give feedback.
All reactions