Command Line Reference - kulbakin/anahita GitHub Wiki
When in an anahita directory, you can type php anahita
to see a list of available commands. To see a help for each command try typing php anahita help command_name
.
Usage:
[options] command [arguments]
Options:
--help or -h
Display this help message.
--quiet or -q
Do not output any message.
--verbose or -v
Increase verbosity of messages.
--version** or **-V
Display this application version.
--ansi
Force ANSI output.
--no-ansi
Disable ANSI output.
--no-interaction or -n
Do not ask any interactive question.
Available commands:
help
Displays help for a command
list
Lists commands
db
db:dump
Dump data to a sql file
db:load
Load data from a sql file into the database
db:migrate:list
list available migrations
db:migrate:new
Generate a migration for a component
db:migrate:rollback
Rollback the database migration for a component
db:migrate:up
Run the database migration for a component
db:schema:dump
Dumps the schema for a component into its schema.sql file
package
package:install
Install a package into the site
package:list
List of packages
package:uninstall
Uninstalls a package
site
site:configuration
Provides the ability to set some of the site configuration through command line
site:init
Initializes the site by linking necessary files, setting up the database and creating an admin user