# 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

Create API key for user:

kctl run cli-php admin_api:create_key --login admin
1

Add domain:

kctl run cli-php domains:create test.com
1

To get list of command options, run

kctl run cli-php [COMMAND] --help
1

Example:

[root@demo-en keitaro]# kctl run cli-php domains:create --help


Description:
  Add domain

Usage:
  domains:create [<domain>]

Arguments:
  domain

Options:
  -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
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20