powerbot-cli
CLI tool for Powerbot CMS projects
Last updated 3 months ago by maxtomczyk .
CC-BY-NC-4.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install powerbot-cli 
SYNC missed versions from official npm registry.

powerbot-cli

CLI tool for Powerbot CMS projects

oclif Version Downloads/week License

Usage

$ npm install -g powerbot-cli
$ powerbot COMMAND
running command...
$ powerbot (-v|--version|version)
powerbot-cli/2.0.1 darwin-x64 node-v10.15.1
$ powerbot --help [COMMAND]
USAGE
  $ powerbot COMMAND
...

Commands

powerbot dev [MODULE]

Starts commands set for project development.

USAGE
  $ powerbot dev [MODULE]

DESCRIPTION
  As module accepts `cms` or `chatbot`

See code: src/commands/dev.ts

powerbot env:list

Lists environments configured for current project directory.

USAGE
  $ powerbot env:list

See code: src/commands/env/list.ts

powerbot env:set [NAME]

Manages environments (database connection params) used for sync module.

USAGE
  $ powerbot env:set [NAME]

See code: src/commands/env/set.ts

powerbot env:unset [NAME]

Removes selected environment data from system.

USAGE
  $ powerbot env:unset [NAME]

See code: src/commands/env/unset.ts

powerbot help [COMMAND]

display help for powerbot

USAGE
  $ powerbot help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

powerbot info

Shows informations about CLI and Powerbot CMS versions.

USAGE
  $ powerbot info

See code: src/commands/info.ts

powerbot init [NAME] [VERSION]

Creates directory and initializes Powerbot CMS inside.

USAGE
  $ powerbot init [NAME] [VERSION]

DESCRIPTION
  As version you can use any release available on https://github.com/maxtomczyk/powerbot-cms/releases

ALIASES
  $ powerbot create

See code: src/commands/init.ts

powerbot language:add [NAME] [LOCALE]

Creates new language and messages variants for new locale.

USAGE
  $ powerbot language:add [NAME] [LOCALE]

DESCRIPTION
  As locale you have to provide valid Facebook locale like en_US

See code: src/commands/language/add.ts

powerbot language:change [NAMEORLOCALETOCHANGE] [NEWLANGNAME] [NEWLANGLOCALE]

Changes languege into another.

USAGE
  $ powerbot language:change [NAMEORLOCALETOCHANGE] [NEWLANGNAME] [NEWLANGLOCALE]

See code: src/commands/language/change.ts

powerbot language:default [LANGORLOCALE]

Sets passed language or locale as default.

USAGE
  $ powerbot language:default [LANGORLOCALE]

See code: src/commands/language/default.ts

powerbot language:remove [NAMEORLOCALE]

Removes language support from your chatbot.

USAGE
  $ powerbot language:remove [NAMEORLOCALE]

See code: src/commands/language/remove.ts

powerbot module [TYPE] [NAME]

Creates new component for CMS. Type paramter is view or component.

USAGE
  $ powerbot module [TYPE] [NAME]

See code: src/commands/module.ts

powerbot setup

Runs setup procedure like database import etc.

USAGE
  $ powerbot setup

See code: src/commands/setup.ts

powerbot sync:attachments [SOURCE] [TARGET]

Sync attachments table between two environments.

USAGE
  $ powerbot sync:attachments [SOURCE] [TARGET]

See code: src/commands/sync/attachments.ts

powerbot sync:elements [SOURCE] [TARGET]

Sync static elements between two environments.

USAGE
  $ powerbot sync:elements [SOURCE] [TARGET]

See code: src/commands/sync/elements.ts

powerbot sync:messages [SOURCE] [TARGET]

Sync messsages and related data between environments.

USAGE
  $ powerbot sync:messages [SOURCE] [TARGET]

See code: src/commands/sync/messages.ts

Current Tags

  • 2.0.2                                ...           latest (3 months ago)

2 Versions

  • 2.0.2                                ...           3 months ago
  • 2.0.1                                ...           3 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 2
Last Day 0
Last Week 0
Last Month 0
Dependencies (10)
Dev Dependencies (5)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |