Skip to content

Commit

Permalink
Add documentation how to use parameter-file's (#1191)
Browse files Browse the repository at this point in the history
  • Loading branch information
kivio authored and jessesuen committed Jan 25, 2019
1 parent 01ce5c3 commit 17250f3
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions examples/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,6 +148,16 @@ The argo CLI provides a convenient way to override parameters used to invoke the
```sh
argo submit arguments-parameters.yaml -p message="goodbye world"
```
In case of multiple parameters that can be overriten argo CLI provides also command to load whole parameters files in yaml or json format. That files can look like that:

```yaml
message: goodbye world
```

To run use following command:
```sh
argo submit arguments-parameters.yaml --parameter-file params.yaml
```

Command line parameters can also be used to override the default entrypoint and invoke any template in the workflow spec. For example, if you add a new version of the `whalesay` template called `whalesay-caps` but you don't want to change the default entrypoint, you can invoke this from the command line as follows.
```sh
Expand Down

0 comments on commit 17250f3

Please sign in to comment.