0.1.4 • Published 3 years ago

cintsa-cms-cli v0.1.4

Weekly downloads
46
License
MIT
Repository
github
Last release
3 years ago

Cintsa CLI

The CLI tool for the Cintsa CMS system. You can use this to deploy a static-site hosting stack to AWS that is compatible with Cintsa CMS

Usage

$ npm install -g cintsa-cms-cli
$ cintsa COMMAND
running command...
$ cintsa (-v|--version|version)
cintsa-cms-cli/0.1.3 darwin-x64 node-v12.13.1
$ cintsa --help [COMMAND]
USAGE
  $ cintsa COMMAND
...

Commands

cintsa build

Compile the templates into static html

USAGE
  $ cintsa build

OPTIONS
  -h, --help  show CLI help

See code: src/commands/build.ts

cintsa create-site

Initialize the project for use with Cintsa CMS

USAGE
  $ cintsa create-site

OPTIONS
  -h, --help  show CLI help

See code: src/commands/create-site.ts

cintsa create-user

Create a user in your Cognito user pool

USAGE
  $ cintsa create-user

OPTIONS
  -e, --email=email  (required)
  -h, --help         show CLI help

See code: src/commands/create-user.ts

cintsa destroy

Initialize the project for use with Cintsa CMS

USAGE
  $ cintsa destroy

OPTIONS
  -h, --help  show CLI help

See code: src/commands/destroy.ts

cintsa help [COMMAND]

display help for cintsa

USAGE
  $ cintsa help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

cintsa init

Initialize the project for use with Cintsa CMS

USAGE
  $ cintsa init

OPTIONS
  -h, --help  show CLI help

See code: src/commands/init.ts

cintsa pull

Pull the CMS files from the S3 bucket into the src directory

USAGE
  $ cintsa pull

OPTIONS
  -h, --help  show CLI help

See code: src/commands/pull.ts

cintsa push

Push build folder up to S3 to serve the static files

USAGE
  $ cintsa push

OPTIONS
  -h, --help  show CLI help

See code: src/commands/push.ts

cintsa serve

Initialize the project for use with Cintsa CMS

USAGE
  $ cintsa serve

OPTIONS
  -h, --help       show CLI help
  -p, --port=port

See code: src/commands/serve.ts

cintsa help [COMMAND]

Display help for cintsa

USAGE
  $ cintsa help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI