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