craigmonson / colonize

A terraform tool to manage environment driven templating.
MIT License
20 stars 5 forks source link

Flag naming standards #49

Closed jyore closed 7 years ago

jyore commented 7 years ago

1) dashes over underscores

Some flags are named with dashes and some with underscores. Since CLIs typically are usually to use dashes, I think we should update all to use dashes

Example: We have --skip_remote, but I think it should be --skip-remote.

2) short game options I think we should be careful with what the short hand flag options are and make sure that we do not use common flag names for unrelated tasks.

Example: We use -r for --skip-remote, however, -r commonly means recursive in the CLI world.

Perhaps -s or -k would be better for this

3) version info Cobra should allow this easily so adding here instead of separate issue. We need to print correct version info via a --version flag