A stack can now ship <name>.env and <name>.sh next to its compose files. The hook is sourced with the tag helpers available, which is what the computing .mk files of the catalogue were using make for: 29 of its 44 .mk files only exist to build variables like the fabio tags. Converting stack/host/fabio.mk by hand gives byte-identical output for the route tag, and drops a trailing comma the make version left in the listener list. Also: APP_HOST and APP_URI are computed (the tag helpers build on them), --color controls the escape codes rather than always emitting them, and make test-portability runs the CLI under busybox ash and dash.
28 lines
992 B
Plaintext
28 lines
992 B
Plaintext
ERROR: unknown command: doesnotexist
|
|
Usage: myos [options] <command> [stack...] [VAR=value...] [-- args...]
|
|
|
|
Options:
|
|
-C DIR work in DIR instead of the current directory
|
|
-e ENV environment (default: local, or ENV from the config)
|
|
-H HOSTS run on remote hosts instead (comma separated, or "all")
|
|
-n, --dry-run print the commands instead of running them
|
|
--color WHEN always, never or auto (default: colour when on a terminal)
|
|
-v, --verbose show what myos does
|
|
-d, --debug show every command
|
|
-h, --help this help
|
|
|
|
Commands:
|
|
up down start stop restart recreate manage the containers of a stack
|
|
ps logs config exec run inspect and enter them
|
|
ls [--groups] list the stacks myos can see
|
|
env [VAR...] show resolved variables
|
|
doctor check the installation
|
|
version print the myos version
|
|
|
|
Stacks:
|
|
myos up the stack of the current directory
|
|
myos up host a group, expanded from host=... in a .env or .mk
|
|
myos up host/fabio a single stack
|
|
myos up postgres:9.6 a versioned stack
|
|
[exit 2]
|