Command line interface for working with Casimir-based projects
npm install @casimir/cli
Global installation
npm install @casimir/cli -g
cas <command> <action> [options]
Commands:
cas framework Operations with framework on project side
cas packages Operations with packages on mono-repo side
cas project Operations with current project
Options:
-i, --interactive Enable interactive prompts
-h, --help Show help [boolean]
-v, --version Show version number [boolean]
Operations with framework on project side
Update framework packages
Options:
-t, --target point to target packages version [string] [choices: "latest", "greatest", "newest", "minor", "patch"] [default: "latest"]
-s, --scope Packages scopes [array] [choices: "casimir", "deip"] [default: ["casimir","deip"]]
-y, --yes Confirm framework packages update
-h, --help Show help [boolean]
-v, --version Show version number [boolean]
Link framework packages
Options:
-y, --yes Confirm framework packages link
-h, --help Show help [boolean]
-v, --version Show version number [boolean]
Operations with packages on mono-repo side
Build ts, js, vue packages in mono-repository
Options:
-h, --help Show help [boolean]
-v, --version Show version number [boolean]
Enable watching and build for mono-repository
Options:
-h, --help Show help [boolean]
-v, --version Show version number [boolean]
Release and publish framework packages
Options:
--bootstrap Bootstrap packages [boolean] [default: true]
--clean Clean packages [boolean] [default: true]
-y, --yes Confirm packages release
-h, --help Show help [boolean]
-v, --version Show version number [boolean]
Examples:
cas release Make default packages publish
cas release --prerelease Make prerelease packages publish with 'beta' identifier
cas release --prerelease --preid next Make prerelease packages publish with 'next' identifier
Bootstrap lerna packages
Options:
--ci Enable/Disable CI verification [boolean] [default: false]
-h, --help Show help [boolean]
-v, --version Show version number [boolean]
Operations with current project
Release current project
Options:
-i, --interactive Enable interactive prompts
--ci Enable/Disable CI verification [boolean] [default: true]
--dryRun Run command in test mode [boolean] [default: false]
--npmPublish Publish to npm registry [boolean] [default: false]
-y, --yes Confirm projectCommand release
-h, --help Show help [boolean]
-v, --version Show version number [boolean]