# Keitaro CLI
Keitaro exposes command-line Interface (CLI).
# List of command
To get all the commands, run:
kctl run cli-php list
1
Create admin account for tracker:
kctl run cli-php admin:create admin password
1
To get list of command options, run
kctl run cli-php [COMMAND] --help
1
Example:
# kctl run cli-php system:optimize_db --help
Usage:
system:optimize_db [options]
Options:
-t, --tables[=TABLES] List ot tables for optimize separated by ":". By default optimize all tables in database
-h, --help Display this help message
-q, --quiet Do not output any message
-V, --version Display this application version
--ansi Force ANSI output
--no-ansi Disable ANSI output
-n, --no-interaction Do not ask any interactive question
-v|vv|vvv, --verbose Increase the verbosity of messages: 1 for normal output, 2 for more verbose output and 3 for debug
Help:
Optimize database
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16