kubernauts / tk8

CLI to deploy Kubernetes with RKE, EKS or Kubeadm and deploy additional addons
Apache License 2.0
266 stars 48 forks source link

Flag control contradiction #33

Closed MuellerMH closed 5 years ago

MuellerMH commented 6 years ago

Flags in general are used to report deviations from the standard. For example, you could tell the CLI where to look for a config or which OS to use.

However, the main procedures should not be controlled with flags.

For example, the command 'tk8 cluster aws -c -i -d' would be a complete contradiction in itself and is not visible at first glance.

Here the CLI parameters should be used and flags as additional control. For example: 'tk8 cluster aws -f /myconfig.yml create'

arashkaffamanesh commented 6 years ago

Nice, yes, that way the user knows which config file she / he is using and is the standard way.