Skip to content

Commit

Permalink
Merge pull request #1328 from pouchrobot/auto-doc-2018-05-16
Browse files Browse the repository at this point in the history
docs: auto generate pouch cli/api docs via code
  • Loading branch information
Letty5411 authored May 16, 2018
2 parents ebb3a2b + deabef9 commit 3c29c40
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 3c29c40

Please sign in to comment.