Skip to content

Commit 0fd2d5e

Browse files
committed
update docs
Signed-off-by: Ching Yi, Chan <[email protected]>
1 parent 07e94bc commit 0fd2d5e

File tree

2 files changed

+17
-3
lines changed

2 files changed

+17
-3
lines changed

docs/CLI/files.md

+11-3
Original file line numberDiff line numberDiff line change
@@ -55,20 +55,28 @@ primehub files list <path>
5555
* path: The path to list
5656

5757

58-
### Upload
58+
59+
60+
61+
### upload
5962

6063
Upload shared files
6164

65+
6266
```
6367
primehub files upload <src> <path>
6468
```
6569

66-
* src: The local path to upload artifacts
70+
* src: The local path to save artifacts
6771
* path: The path of file or folder
6872

6973

7074
* *(optional)* recursive
7175

76+
77+
78+
79+
7280
## Examples
7381

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

108116
```
109117
$ primehub files upload ./my-download /jobArtifacts/job-202107290838-aoq173 --recursive
110-
```
118+
```

primehub/extras/templates/examples/files.md

+6
Original file line numberDiff line numberDiff line change
@@ -29,3 +29,9 @@ $ tree ./my-download
2929
./my-download
3030
`-- job-202107290838-aoq173
3131
```
32+
33+
Uses `upload` to upload a file or a directory with `--recursive` options.
34+
35+
```
36+
$ primehub files upload ./my-download /jobArtifacts/job-202107290838-aoq173 --recursive
37+
```

0 commit comments

Comments
 (0)