untool
untool
is our main, global command line interface. It serves a single purposes: it can be used to to control untool
projects. To do so, it provides the terminal command un
.
Installation
untool
is meant to be installed globally, not inside specific projects. If you want to add a local command line interface to your project to be used in package.json
scripts, please just use @untool/yargs
directly.
$ yarn global add untool
Utilization
untools
's mode of operation is that it will find a locally installed @untool/yargs
and execute it. It will act as a very minimal wrapper around it.
$ un start -s
foo info
server listening at http://localhost:8080
You can also call it without arguments to see a list of available commands. This list will vary depending on the mixins you installed in every individual project.
$ un
Usage: un <command> [options]
Commands:
un serve Serve foo
un start Build and serve foo
un build Build foo
un develop Serve foo in watch mode
Options:
--version Show version number [boolean]
--help, -h Show help [boolean]