| literate | typescript |
|---|
console.log(`
This command has been deprecated.
Previously, there were two mega-scripts, "dev" and "ops".
These have now been broken down into smaller modules.
Use "pnpm run" to get the list of top-level commands.
`.trimStart())
process.exit(1)The procedures defined in this directory are executed by the Komandi library based on the command line arguments (see Entry point). Or, you can use them from another script by importing this module.
See also: @fadroma/cli/index.ts
Each call to Fadroma.command('name', ...steps) binds
one or more build steps to a command accessible from the terminal.
The steps are async functions that are run sequentially.
The paramerer, context, is populated from the return values
of previous build steps.
The active Chain
is selected via the FADROMA_CHAIN environment variable.
You can set it in a .env file in the root of the repo.
Run this script with FADROMA_CHAIN set to an empty value,
to list possible values.