diff options
author | Ashley Cui <ashleycui16@gmail.com> | 2019-07-01 14:52:55 -0400 |
---|---|---|
committer | Ashley Cui <ashleycui16@gmail.com> | 2019-07-25 15:36:39 -0400 |
commit | ce0132a45e1ab748ee3adbf96f934ef41ca6b59a (patch) | |
tree | 369c9311ca87c5ba941263fcafb62cd6d66a6830 /docs/podman-remote.sh | |
parent | 7dbc6d8f36f3b85275bed998b5e34f7d5870659e (diff) | |
download | podman-ce0132a45e1ab748ee3adbf96f934ef41ca6b59a.tar.gz podman-ce0132a45e1ab748ee3adbf96f934ef41ca6b59a.tar.bz2 podman-ce0132a45e1ab748ee3adbf96f934ef41ca6b59a.zip |
Documenation & build automation for remote darwin
Created shell script to automatically compile remote-only docs & rename
Added make brew-pkg to automatically package files needed for homebrew
Add missing docs
Signed-off-by: Ashley Cui <ashleycui16@gmail.com>
Diffstat (limited to 'docs/podman-remote.sh')
-rwxr-xr-x | docs/podman-remote.sh | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/docs/podman-remote.sh b/docs/podman-remote.sh new file mode 100755 index 000000000..db3bb6d50 --- /dev/null +++ b/docs/podman-remote.sh @@ -0,0 +1,11 @@ +#!/bin/sh + +BREWDIR=$1 +mkdir -p $BREWDIR +docs() { +[ -z $1 ] || type="-$1" +for i in $(podman-remote $1 --help | sed -n '/^Available Commands:/,/^Flags:/p'| sed -e '1d;$d' -e '/^$/d' | awk '{print $1}'); do install podman$type-$i.1 $BREWDIR 2>/dev/null || install links/podman$type-$i.1 $BREWDIR; done +} +docs + +for cmd in 'container image pod volume'; do docs $cmd; done |