#!/bin/bash
# dev/p7 - Package Development Helper
set -e
source '/home/zwelch/src/mcf/mcsh-release/install/share/mcsh/mcsh.sh'
lib_load 'dev/package/cli'
######
# Native Dependencies
p7_client_packages=( )
p7_server_packages=( )
######
# Script Initialization
# p7_init() - Performs script-specific initialization.
p7_init() {
: debug "p7_init called"
}
######
# Script Configuration
# p7_config_init() - Defines, documents, and initializes script settings.
p7_config_init() {
# p7_var - Documents this setting variable
lib_setting_vars p7_var
}
# p7_config_check() - Initializes remaining script settings and
# validates their values.
p7_config_check() {
p7_var=${p7_var:-true}
}
######
# CLI
p7_dispatch() { lib_cmd_dispatch package_cli "$@"; }
######
# Check
# p7_check() - Performs a self-check of all script functionality
p7_check() {
lib_load 'dev/package/release'
lib_load 'dev/package/env'
lib_load 'dev/package/check'
}
######
# Main
# p7_desc() - Prints a short description of this tool
p7_desc() { echo "Package Development Helper"; }
# p7_usage() - Prints the top-level command usage
p7_usage() { package_cli_usage; }
# p7_help() - Prints the top-level command help for this script
p7_help() {
cat <<HELP
p7 is a package development helper script. It is part of the mcsh package.
HELP
package_cli_help
}
app_run "$@"
Generated on Fri Jul 28 14:34:27 PDT 2017 by mcsh d14 v0.23.0.