Skip to content

Latest commit

 

History

History
21 lines (13 loc) · 631 Bytes

CLI.md

File metadata and controls

21 lines (13 loc) · 631 Bytes

CLI

Bundled with Emoncms is a simple CLI tool that right now can be used to update the configured database to ensure the schema is up to date.

This tool resides in the scripts/ directory. However it must be executed from the root of the project.

Print usage

Running the CLI without any arguments will print all available commands that can be executed.

./scripts/emoncms-cli

Perform database update

Running this command will run any pending migrations that need to be run. Typically this is done after upgrades that have changes to the database schema.

./scripts/emoncms-cli admin:dbupdate