enaml-ops / omg-cli

it's kind of like an (o)ps (m)anager in (g)olang
Apache License 2.0
15 stars 11 forks source link

omg deploy-product should take product name rather than plugin name #23

Open ghost opened 8 years ago

ghost commented 8 years ago

It seems like omg should use the friendly product name for the deploy-product option:

$ omg-linux deploy-product concourse -h
No help topic for 'concourse'

rather than the plugin name:

$ omg-linux deploy-product concourse-plugin-linux -h
NAME:
   omg-linux deploy-product concourse-plugin-linux - deploy the concourse-plugin-linux product

USAGE:
   omg-linux deploy-product concourse-plugin-linux [command options] [arguments...]

OPTIONS:
   --deployment-name value        deployment name (default: "concourse") [$OMG_DEPLOYMENT_NAME]
   --concourse-username value     concourse user id [$OMG_CONCOURSE_USERNAME]
   --concourse-password value     concourse password [$OMG_CONCOURSE_PASSWORD]
   --external-url value           URL to access concourse [$OMG_EXTERNAL_URL]
...