#!/bin/bash
# doc/r16 - reStructuredText helper
set -e
source '/home/zwelch/src/mcf/mcsh-release/install/share/mcsh/mcsh.sh'
lib_load 'doc/rst'
######
# Check
r16_config_init() {
:
}
r16_config_check() {
:
}
######
# Emit
r16_hello() {
rst_title 'title' 'desc'
for i in $(seq 1 7); do
rst_header_n $i "Header $i"
rst_p "Yo $i"
done
}
######
# Check
r16_check() {
for i in $(seq 1 7); do
rst_header $i "Header $i"
rst_p "Yo $i"
done
}
######
# Main
r16_desc() { echo "reStructuredText helper"; }
r16_usage() {
cat <<USAGE
<cmd> ...
r16 Commands:
hello Prints a greeting
USAGE
}
r16_help() {
cat <<HELP
r16 is a reStructuredText helper tool. It is part of the mcsh package.
HELP
}
app_run "$@"
Generated on Fri Jul 28 14:34:30 PDT 2017 by mcsh d14 v0.23.0.