diff --git a/README.md b/README.md index 1596b7c53..a6d358f9e 100644 --- a/README.md +++ b/README.md @@ -83,6 +83,16 @@ token=$(gcloud auth print-access-token) apigeecli orgs get -t $token #fetches the org details of the org set in preferences ``` +The following preferences can be set: + +| Flag | Description | +| -----------------------| ----------------------------------------------------- | +| `-g, --github string` | On premises Github URL | +| `-o, --org string` | Apigee organization name | +| `-p, --proxy string` | Use http proxy before contacting the control plane | +| `--nocheck` | Don't check for newer versions of cmd | + + ## Container download The lastest container version for apigeecli can be downloaded via diff --git a/cmd/apis/ghcrtapis.go b/cmd/apis/ghcrtapis.go index f95faa6a1..e1c499377 100644 --- a/cmd/apis/ghcrtapis.go +++ b/cmd/apis/ghcrtapis.go @@ -35,7 +35,7 @@ var GhCreateCmd = &cobra.Command{ Use: "github", Aliases: []string{"gh"}, Short: "Creates an API proxy from a GitHub repo", - Long: "Creates an API proxy from a GitHub repo", + Long: "Creates an API proxy from a GitHub repo. Check apigeecli prefs for GH on-prem options", Args: func(cmd *cobra.Command, args []string) (err error) { re := regexp.MustCompile(`(\w+)?\/apiproxy$`) if ok := re.Match([]byte(ghPath)); !ok { diff --git a/cmd/sharedflows/ghcrtsf.go b/cmd/sharedflows/ghcrtsf.go index e130cecbd..905e41fe8 100644 --- a/cmd/sharedflows/ghcrtsf.go +++ b/cmd/sharedflows/ghcrtsf.go @@ -34,7 +34,7 @@ var GhCreateCmd = &cobra.Command{ Use: "github", Aliases: []string{"gh"}, Short: "Creates a sharedflow from a GitHub repo", - Long: "Creates a sharedflow from a GitHub repo", + Long: "Creates a sharedflow from a GitHub repo. Check apigeecli prefs for GH on-prem options", Args: func(cmd *cobra.Command, args []string) (err error) { re := regexp.MustCompile(`(\w+)?\/sharedflowbundle$`) if ok := re.Match([]byte(ghPath)); !ok {