show

KUSANAGIのプロファイルの詳細を表示します。

使用例

kusanagi show kusanagi_html

オプション

フォーマット (Security Editionの場合)

[--format json]

デフォルト : 指定なし

出力の形式を指定します。JSONを指定すると、JSON形式で出力します。

プロファイル名

[profile]

デフォルト : カレントディレクトリのプロファイル

profileを指定した場合、指定したプロファイルを表示します。
また、カレントディレクトリがプロファイルではない場合はエラーになります。

実行例

# kusanagi show kusanagi_html
type = wp
fqdn = host.example.com
dir = /home/kusanagi/kusanagi_html
dbname = kusanagi_html
dbuser = kusanagi_html
dbpass = ********
wplang = ja
mariadb = yes
psql = no
bcache = off
fcache = off
ratelimit = on
show completed.

Security Editionの場合
# kusanagi show kusanagi_html
type = wp
fqdn = host.example.com
dir = /home/kusanagi/kusanagi_html
dbname = kusanagi_html
dbuser = kusanagi_html
dbpass = ********
wplang = ja
mariadb = yes
psql = no
bcache = off
fcache = off
ratelimit = on
waf = off
show completed.

Security Editionの場合
# kusanagi show --format json kusanagi_html
{
  "profile": {
    "name": "kusanagi_html",
    "type": "wp",
    "fqdn": "host.example.com",
    "dir": "/home/kusanagi/kusanagi_html",
    "dbname": "kusanagi_html",
    "dbuser": "kusanagi_html",
    "dbpass": "********",
    "wplang": "ja",
    "mariadb": true,
    "psql": false,
    "features": {
      "bcache": false,
      "fcache": false,
      "ratelimit": true,
      "waf": false
    }
  }
}