subcom – tool to manage subcommands of your executable.
Required
- shell (Bourne compatible)
Latest release
Latest code
Description
subcom is the tool to determine executable file from sentence-like string. That is used to manage subcommands of your script.
The tool will parse the string:
$ subcom script commandand will find the executable file, according to command.
subcom allows adding subcommands to some script without its modification, as the script parses command string and determines the subcommand in generic way.
Install
To install subcom
into dedicated directory $HOME/rrr/
(default):
$ ./install.sh
That is equal to:
$ DESTDIR=${HOME}/rrr ./install.sh
To install somewhere system-wide:
$ DESTDIR=/usr/local ./install.sh
Do not install directly to real system path like /usr with ./install.sh! Use separated directories for self-installed stuff. Install into working system with packages.
Distribution
Available under ISC License.
Copyright 2020 Random Crew.
Copyright 2020 Random Crew.