You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Fixes Better logging #22 by using winston as a logging library instead of manually monkey–patching and aliasing console.log and console.error to custom identifiers. Running commands on a TTY will print colorized, human readable logs; other scenarios (like piping) will produce machine-readable JSONL like in the gh command-line tool. There is a single exception handler common for all the command-line interface, eliminating all the duplicate code and delegating the exception formatting on the logging library.
Introduces automatic environment variable processing with yargs.env so cml command --long-option=value is equivalent to CML_COMMAND_LONG_OPTION=value cml without any maintenance overhead.
Introduces plugin support, allowing executables on the PATH to be called as subcommands from the new cml command; e.g. calling cml something will try to find and execute cml-something if it's in your path. As in gh extensions, external commands can't override internal ones under any circumstance.
Removes the default CMD on our container images (was set to cml-runner for no apparent reason) and sets a smart ENTRYPOINT that interprets unknown commands as cml commands. It didn't make too much sense to favor a tool over the rest and have seven similar ways of checking the installed CML version.
The text was updated successfully, but these errors were encountered:
#703
The text was updated successfully, but these errors were encountered: