Skip to content

Commit

Permalink
feat: Allow to execute a test script on a given service (close #141)
Browse files Browse the repository at this point in the history
  • Loading branch information
Christophe Nouguier committed Feb 24, 2020
1 parent 30c8acc commit 6412cd3
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
6 changes: 5 additions & 1 deletion docs/reference/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,11 @@ When specifying `all`, it deploys all the stacks. The stacks are deployed in the

`usage: kargo exec <script>`

Tells **Kargo** to execute the given script.
Tells **Kargo** to execute the given script. The script must be stored in the `scripts` folder.

::: tip
Using the `exec` command allows you to take into account the environment within your scripts.
:::

### info

Expand Down
2 changes: 1 addition & 1 deletion kargo
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ kargo_usage()
printf " %-10s %-25s %s\n" "build" "<service>" "build the given service"
printf " %-10s %-25s %s\n" "configure" "" "generate the current configuration"
printf " %-10s %-25s %s\n" "deploy" "<stack|all> [delay]" "deploy the given stack"
printf " %-10s %-25s %s\n" "exec" "<script>" "exec the given script"
printf " %-10s %-25s %s\n" "execute" "<script>" "exec the given script"
printf " %-10s %-25s %s\n" "info" "" "generate the current configuration"
printf " %-10s %-25s %s\n" "load" "<service>" "load the given service from an archive"
printf " %-10s %-25s %s\n" "pull" "" "pull the current workspace"
Expand Down

0 comments on commit 6412cd3

Please sign in to comment.