Package Exports
- @stryke/cli
- @stryke/cli/commands
- @stryke/cli/commands/create-options
- @stryke/cli/commands/execute
- @stryke/cli/commands/get-command
- @stryke/cli/commands/index
- @stryke/cli/index
- @stryke/cli/package.json
- @stryke/cli/terminal
- @stryke/cli/terminal/cli-link
- @stryke/cli/terminal/index
- @stryke/cli/terminal/write-banner
- @stryke/cli/types
Readme
cli
A package containing various CLI helper functions
Installing
Using pnpm:
pnpm add -D stryke/cliUsing npm
npm install -D stryke/cliUsing yarn
yarn add -D stryke/cliReduced Package Size
This project uses tsup to package the source code due to its ability to remove unused code and ship smaller javascript files thanks to code splitting. This helps to greatly reduce the size of the package and to make it easier to use in other projects.
Development
This project is built using Nx. As a result, many of the usual commands are available to assist in development.
Building
Run nx build cli to build the library.
Running unit tests
Run nx test cli to execute the unit tests via Jest.
Linting
Run nx lint cli to run ESLint on the package.