Skip to content
This repository has been archived by the owner on Jul 12, 2018. It is now read-only.

omg help is not displayed unless the user is in the same dir as the executable #46

Open
ghost opened this issue Dec 20, 2016 · 1 comment

Comments

@ghost
Copy link

ghost commented Dec 20, 2016

sandbox $ pwd
/home/ops

$ which omg-linux
/home/ops/bin/omg-linux

sandbox $ omg-linux -h
<nothing>

sandbox $ cd /home/ops/bin
sandbox $ omg-linux -h
NAME:
   omg-linux - A new cli application

USAGE:
   omg-linux [global options] command [command options] [arguments...]

VERSION:
   v1.0.3-572df1

COMMANDS:
     azure               azure [--flags] - deploy a bosh to azure
     aws                 aws [--flags] - deploy a bosh to aws
     gcp                 gcp [--flags] - deploy a bosh to GCP
     photon              photon [--flags] - deploy a bosh to photon
     vsphere             vsphere [--flags] - deploy a bosh to vsphere
     list-cloudconfigs
     list-products
     product-meta        product-meta <prod-name> - show product metadata
     register-plugin     register-plugin -type [cloudconfig, product] -pluginpath <plugin-binary>
     deploy-cloudconfig  deploy-cloudconfig <cloudconfig-name> [--flags] - deploy a cloudconfig to bosh
     deploy-product      deploy-product <prod-name> [--flags] - deploy a product via bosh
     help, h             Shows a list of commands or help for one command

GLOBAL OPTIONS:
   --help, -h     show help (default: false)
   --version, -v  print the version (default: false)
@xchapter7x
Copy link
Contributor

set the OMG_PLUGIN_DIR to whichever dir contains your plugins and you should be able to run omg-cli from anywhere.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant