Skip to content

Commit

Permalink
update docs
Browse files Browse the repository at this point in the history
Signed-off-by: Ching Yi, Chan <[email protected]>
  • Loading branch information
qrtt1 committed Nov 12, 2021
1 parent 07e94bc commit 0fd2d5e
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 3 deletions.
14 changes: 11 additions & 3 deletions docs/CLI/files.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,20 +55,28 @@ primehub files list <path>
* path: The path to list


### Upload



### upload

Upload shared files


```
primehub files upload <src> <path>
```

* src: The local path to upload artifacts
* src: The local path to save artifacts
* path: The path of file or folder


* *(optional)* recursive





## Examples

We could use `list` to watch files or directory remotely.
Expand Down Expand Up @@ -107,4 +115,4 @@ Uses `upload` to upload a file or a directory with `--recursive` options.

```
$ primehub files upload ./my-download /jobArtifacts/job-202107290838-aoq173 --recursive
```
```
6 changes: 6 additions & 0 deletions primehub/extras/templates/examples/files.md
Original file line number Diff line number Diff line change
Expand Up @@ -29,3 +29,9 @@ $ tree ./my-download
./my-download
`-- job-202107290838-aoq173
```

Uses `upload` to upload a file or a directory with `--recursive` options.

```
$ primehub files upload ./my-download /jobArtifacts/job-202107290838-aoq173 --recursive
```

0 comments on commit 0fd2d5e

Please sign in to comment.