https://meltano.com/ logo
#cli
Title
# cli
a

adorable-horse-71609

08/13/2021, 5:34 PM
Minor cli ux thing I noticed: I forget when
list
is a command and when it is a flag, e.g.
meltano select --list --all PLUGIN_NAME
vs
meltano config PLUGIN_NAME list
🤔 1
s

salmon-salesclerk-77709

08/16/2021, 3:29 PM
What's your sense on what a better interface for this would be? It feels like it makes sense to me b/c
select
is a verb and the flag overrides the default behavior of the command, while
config
is a noun and the
list
command is verbing the noun.
a

adorable-horse-71609

08/17/2021, 5:13 PM
Both selection and configuration have write and read operations.
meltano select
is the write operation unless you use a flag, whereas
meltano config
requires an operation (
config set
vs
config list
).
select
is used as a verb but
config
is used as a noun. Both paradigms have their pros and cons. Just pointing out the discrepancy.
meltano selection [set,unset,list]
is kinda gross but
config
has 4 options so to match it would have to do
meltano config --list
,
meltano config --reset
, etc which is also pretty gross