Skip to content

Commit

Permalink
docs: auto generate pouch cli docs via code
Browse files Browse the repository at this point in the history
Signed-off-by: pouchrobot <[email protected]>
  • Loading branch information
pouchrobot committed May 16, 2018
1 parent ebb3a2b commit deabef9
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 3 deletions.
1 change: 1 addition & 0 deletions CONTRIBUTORS
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@ Runrioter Wung <[email protected]>
Sam Xie <[email protected]>
skoo <[email protected]>
skoo87 <[email protected]>
soarpenguin <[email protected]>
Starnop <[email protected]>
Tao Qingyun <[email protected]>
Tiramisu 1993 <[email protected]>
Expand Down
10 changes: 10 additions & 0 deletions docs/commandline/pouch_exec.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@ Exec a process in a running container
pouch exec [OPTIONS] CONTAINER COMMAND [ARG...]
```

### Examples

```
$ pouch exec -it 25bf50 ps
PID USER TIME COMMAND
1 root 0:00 /bin/sh
38 root 0:00 ps
```

### Options

```
Expand Down
6 changes: 3 additions & 3 deletions docs/commandline/pouch_top.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,9 +14,9 @@ pouch top CONTAINER [ps OPTIONS]

```
$ pouch top 44f675
UID PID PPID C STIME TTY TIME CMD
root 28725 28714 0 3月14 ? 00:00:00 sh
UID PID PPID C STIME TTY TIME CMD
root 28725 28714 0 3月14 ? 00:00:00 sh
```

### Options
Expand Down

0 comments on commit deabef9

Please sign in to comment.