#!/bin/bash
# doc/r16 - reStructuredText helper

set -e

source '/home/zwelch/src/mcf/mcsh/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 "$@"

View the Script Reference Index


Generated on Tue Apr 25 21:19:37 PDT 2017 by mcsh i7 v0.18.0.