├── .gitignore ├── .npmignore ├── CHANGELOG.md ├── LICENSE.md ├── Makefile ├── README.md ├── bin └── shall ├── doc ├── images │ └── example-output-hello.png └── shall.md ├── man └── shall.1 ├── package.json └── test ├── Bash must be installed ├── invocation ├── executes a command string with -c ├── failure still reported when using -q or -Q ├── operand is interpreted as script file ├── pass shell options through with -p ├── reads from stdin if there is no operand └── reads from stdin with -s ├── output ├── suppresses both stdout and stderr with -Q └── suppresses stdout with -q ├── standard CLI options ├── Option --version prints version └── Options -h and --help print CLI help └── target shells ├── uses only specified shells with -l └── uses only specified shells with SHELLs env variable /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/shall/HEAD/.gitignore -------------------------------------------------------------------------------- /.npmignore: -------------------------------------------------------------------------------- 1 | 2 | # Do not publish tests to the npm registry. 3 | test/ 4 | -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/shall/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/shall/HEAD/LICENSE.md -------------------------------------------------------------------------------- /Makefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/shall/HEAD/Makefile -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/shall/HEAD/README.md -------------------------------------------------------------------------------- /bin/shall: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/shall/HEAD/bin/shall -------------------------------------------------------------------------------- /doc/images/example-output-hello.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/shall/HEAD/doc/images/example-output-hello.png -------------------------------------------------------------------------------- /doc/shall.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/shall/HEAD/doc/shall.md -------------------------------------------------------------------------------- /man/shall.1: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/shall/HEAD/man/shall.1 -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/shall/HEAD/package.json -------------------------------------------------------------------------------- /test/Bash must be installed: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | 3 | bash --version >/dev/null 4 | 5 | 6 | -------------------------------------------------------------------------------- /test/invocation/executes a command string with -c: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/shall/HEAD/test/invocation/executes a command string with -c -------------------------------------------------------------------------------- /test/invocation/failure still reported when using -q or -Q: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/shall/HEAD/test/invocation/failure still reported when using -q or -Q -------------------------------------------------------------------------------- /test/invocation/operand is interpreted as script file: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/shall/HEAD/test/invocation/operand is interpreted as script file -------------------------------------------------------------------------------- /test/invocation/pass shell options through with -p: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/shall/HEAD/test/invocation/pass shell options through with -p -------------------------------------------------------------------------------- /test/invocation/reads from stdin if there is no operand: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/shall/HEAD/test/invocation/reads from stdin if there is no operand -------------------------------------------------------------------------------- /test/invocation/reads from stdin with -s: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/shall/HEAD/test/invocation/reads from stdin with -s -------------------------------------------------------------------------------- /test/output/suppresses both stdout and stderr with -Q: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/shall/HEAD/test/output/suppresses both stdout and stderr with -Q -------------------------------------------------------------------------------- /test/output/suppresses stdout with -q: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/shall/HEAD/test/output/suppresses stdout with -q -------------------------------------------------------------------------------- /test/standard CLI options/Option --version prints version: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/shall/HEAD/test/standard CLI options/Option --version prints version -------------------------------------------------------------------------------- /test/standard CLI options/Options -h and --help print CLI help: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/shall/HEAD/test/standard CLI options/Options -h and --help print CLI help -------------------------------------------------------------------------------- /test/target shells/uses only specified shells with -l: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/shall/HEAD/test/target shells/uses only specified shells with -l -------------------------------------------------------------------------------- /test/target shells/uses only specified shells with SHELLs env variable: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/mklement0/shall/HEAD/test/target shells/uses only specified shells with SHELLs env variable --------------------------------------------------------------------------------