File: gen-cli-help.sh

package info (click to toggle)
liborcus 0.20.2-3
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 16,872 kB
  • sloc: xml: 78,842; cpp: 75,171; sh: 4,626; makefile: 2,838; python: 2,614
file content (23 lines) | stat: -rwxr-xr-x 329 bytes parent folder | download | duplicates (3)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
#!/usr/bin/env bash

THISDIR=$(dirname $0)
ROOTDIR="$THISDIR/.."

CMDS="
orcus-csv
orcus-gnumeric
orcus-json
orcus-ods
orcus-parquet
orcus-xls-xml
orcus-xlsx
orcus-xml
orcus-yaml
"

for CMD in $CMDS; do
    CMD_PATH="$ROOTDIR/src/$CMD"
    DESTFILE="$ROOTDIR/doc/_static/cli/$CMD-help.txt"
    "$CMD_PATH" -h > "$DESTFILE"
done