Skip to content

Commit

Permalink
Merge pull request #127 from dinusha92/3.0.0-post-beta
Browse files Browse the repository at this point in the history
Fixing cli commands.
  • Loading branch information
dinusha92 authored Oct 23, 2019
2 parents c2597ba + d9117c1 commit e266b66
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion import-export-cli/cmd/importApp.go
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@ const importAppCmdShortDesc = "Import App"
const importAppCmdLongDesc = "Import an Application to an environment"

const importAppCmdExamples = utils.ProjectName + ` ` + importAppCmdLiteral + ` -f qa/apps/sampleApp.zip -e dev
` + utils.ProjectName + ` ` + importAppCmdShortDesc + ` -f staging/apps/sampleApp.zip -e prod -o testUser
` + utils.ProjectName + ` ` + importAppCmdLiteral + ` -f staging/apps/sampleApp.zip -e prod -o testUser
` + utils.ProjectName + ` ` + importAppCmdLiteral + ` -f qa/apps/sampleApp.zip --preserveOwner --skipSubscriptions -e prod`

// importAppCmd represents the importApp command
Expand Down
2 changes: 1 addition & 1 deletion import-export-cli/docs/apictl_import-app.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ apictl import-app (--file <app-zip-file> --environment <environment-to-which-the

```
apictl import-app -f qa/apps/sampleApp.zip -e dev
apictl Import App -f staging/apps/sampleApp.zip -e prod -o testUser
apictl import-app -f staging/apps/sampleApp.zip -e prod -o testUser
apictl import-app -f qa/apps/sampleApp.zip --preserveOwner --skipSubscriptions -e prod
```

Expand Down
6 changes: 3 additions & 3 deletions import-export-cli/shell-completions/apictl_zsh_completions.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,15 +17,15 @@ case $state in
;;
level2)
case $words[2] in
add)
_arguments '2: :(api help)'
;;
list)
_arguments '2: :(apis apps envs help)'
;;
update)
_arguments '2: :(api help)'
;;
add)
_arguments '2: :(api help)'
;;
*)
_arguments '*: :_files'
;;
Expand Down

0 comments on commit e266b66

Please sign in to comment.