f99305fad3
Despite its pretentious name, this package is just an attempt to generalize a bunch of code that I keep reusing every time I implement shell scripts. In particular, this is about to remove tons of duplicate stuff from both sysbuild and sysupgrade in subsequent commits and I'll probably use it again for some other stuff I have in mind. Description follows: The Shell Toolkit, or shtk for short, is a collection of modules written in sh(1) that provide common functionality to simplify the implementation of complex shell scripts. These modules provide things like utilities to manipulate data types, helpers to expose a common CLI, or higher-level abstractions such as the processing of configuration files. The included shtk(1) utility exposes convenience functionality to let the user "build" shell scripts that use shtk. Build, in this case, just means adding common boilerplate code to the initialization of the script to load the shtk common code.
18 lines
475 B
Text
18 lines
475 B
Text
@comment $NetBSD: PLIST,v 1.1 2012/08/15 21:18:13 jmmv Exp $
|
|
bin/shtk
|
|
man/man1/shtk.1
|
|
share/shtk/base.subr
|
|
share/shtk/bootstrap.subr
|
|
share/shtk/cli.subr
|
|
share/shtk/config.subr
|
|
share/shtk/cvs.subr
|
|
share/shtk/list.subr
|
|
share/shtk/process.subr
|
|
${TESTS}tests/shtk/Kyuafile
|
|
${TESTS}tests/shtk/base_test
|
|
${TESTS}tests/shtk/cli_test
|
|
${TESTS}tests/shtk/config_test
|
|
${TESTS}tests/shtk/cvs_test
|
|
${TESTS}tests/shtk/list_test
|
|
${TESTS}tests/shtk/process_test
|
|
${TESTS}tests/shtk/shtk_test
|