From 2151607d1005d6a5d42784bcd5399d7ec804bb3b Mon Sep 17 00:00:00 2001 From: npamudika Date: Tue, 31 Mar 2020 20:31:27 +0530 Subject: [PATCH] Add generated docs --- import-export-cli/docs/apictl_import-app.md | 6 +++--- .../apictl_zsh_completions.sh | 18 +++++++++--------- 2 files changed, 12 insertions(+), 12 deletions(-) diff --git a/import-export-cli/docs/apictl_import-app.md b/import-export-cli/docs/apictl_import-app.md index 48358a965..ba1c75831 100644 --- a/import-export-cli/docs/apictl_import-app.md +++ b/import-export-cli/docs/apictl_import-app.md @@ -23,13 +23,13 @@ NOTE: Both the flags (--file (-f) and --environment (-e)) are mandatory ``` -e, --environment string Environment from the which the Application should be imported - -f, --file string Name of the Application to be imported + -f, --file string Name of the ZIP file of the Application to be imported -h, --help help for import-app -o, --owner string Name of the target owner of the Application as desired by the Importer --preserveOwner Preserves app owner - --skipKeys Skip importing keys of application + --skipKeys Skip importing keys of the Application -s, --skipSubscriptions Skip subscriptions of the Application - --update Update application or create new + --update Update the Application if it is already imported ``` ### Options inherited from parent commands diff --git a/import-export-cli/shell-completions/apictl_zsh_completions.sh b/import-export-cli/shell-completions/apictl_zsh_completions.sh index 2fdb47f26..ca8e948f5 100644 --- a/import-export-cli/shell-completions/apictl_zsh_completions.sh +++ b/import-export-cli/shell-completions/apictl_zsh_completions.sh @@ -17,15 +17,6 @@ case $state in ;; level2) case $words[2] in - add) - _arguments '2: :(api help)' - ;; - change) - _arguments '2: :(help registry)' - ;; - install) - _arguments '2: :(api-operator help wso2am-operator)' - ;; list) _arguments '2: :(apis apps envs help)' ;; @@ -35,6 +26,15 @@ case $state in update) _arguments '2: :(api help)' ;; + add) + _arguments '2: :(api help)' + ;; + change) + _arguments '2: :(help registry)' + ;; + install) + _arguments '2: :(api-operator help wso2am-operator)' + ;; *) _arguments '*: :_files' ;;