@prom-cms/cli
v0.24.0-main.b449f6f0fb77b9d97dd2b663433549152bed0f6b
Published
PromCMS cli package
Downloads
191
Readme
This is a cli package of PromCMS that makes things happen.
🍻 Commands
db
TBD
users
Manage users with the help of a CLI
users change-password
Let's you change password for selected user (by email)
😎 Examples
npx @prom-cms/cli user change-password
users create
Let's you create new user with provided email, password and full name
😎 Examples
npx @prom-cms/cli user create
users delete
Let's you delete user by email
😎 Examples
npx @prom-cms/cli user delete
project
Main command for managing your project
project create
Subcommand to create project
🔯 Parameters
--cwd
/-c
- String (default: current cwd), optional
- Path to PromCMS project
😎 Examples
Generate normally in current directory:
npx @prom-cms/cli project create
Create in custom directory:
npx @prom-cms/cli generate-cms --cwd ../../directory
admin:update
Subcommand to update your admin. It removes old version and generates the admin files anew.
🔯 Parameters
--cwd
/-c
- String (default: current cwd), optional
- Path to PromCMS project
database:migration:create
Validates PromCMS config, applies configuration to Models
🔯 Parameters
--cwd
/-c
- String (default: current cwd), optional
- Path to PromCMS project
database:migration:apply
Connects to database and applies
🔯 Parameters
--cwd
/-c
- String (default: current cwd), optional
- Path to PromCMS project