mirror of
https://github.com/containers/podman
synced 2024-10-20 17:23:30 +00:00
ce0132a45e
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>
12 lines
367 B
Bash
Executable file
12 lines
367 B
Bash
Executable file
#!/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
|