Skip to content

Command line interface for working with Casimir projects

Notifications You must be signed in to change notification settings

casimir-one/cli

Repository files navigation

@casimir/cli

Command line interface for working with Casimir-based projects

Installation

npm install @casimir/cli

Global installation

npm install @casimir/cli -g

Usage

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]

Framework

Operations with framework on project side

cas framework update

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]

cas framework link

Link framework packages

Options:
  -y, --yes          Confirm framework packages link

  -h, --help         Show help  [boolean]
  -v, --version      Show version number  [boolean]

Packages

Operations with packages on mono-repo side

cas packages build

Build ts, js, vue packages in mono-repository

Options:
  -h, --help         Show help  [boolean]
  -v, --version      Show version number  [boolean]

cas packages dev

Enable watching and build for mono-repository

Options:
  -h, --help         Show help  [boolean]
  -v, --version      Show version number  [boolean]

cas packages release

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

cas packages bootstrap

Bootstrap lerna packages

Options:
      --ci           Enable/Disable CI verification  [boolean] [default: false]
  -h, --help         Show help  [boolean]
  -v, --version      Show version number  [boolean]

Project

Operations with current project

cas project release

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]

About

Command line interface for working with Casimir projects

Resources

Stars

Watchers

Forks

Contributors 3

  •  
  •  
  •