axiomhq / cli

The power of Axiom on the command line.
https://axiom.co
MIT License
42 stars 11 forks source link

Inconsistent parameters vs flags for axiom dataset create #136

Open max opened 2 years ago

max commented 2 years ago

Without prior knowledge of the axiom dataset create command I assumed it would take the dataset name as a parameter just like the other dataset commands.

lukasmalkmus commented 2 years ago

Thanks for the report!

The initial design choice was:

Additionally, you will be prompted for input when running interactively. This has the downside that axiom dataset create -n=test will result in a prompt asking for the description when no -d/--description flag was provided.

Unfortunately this has caused some minor confusion in the past.

Do you mind leaving your personal opinion down below? We're still in the process of evaluation some options (multi-param support?), this might be a good place to collect some first user input on this matter.