KUSANAGI コマンド

remove

remove

remove

KUSANAGIで使用するプロファイルを削除します。
このコマンドは、設定ファイル、DocumentRootの内容、データベースを削除します。

使用例

kusanagi remove
kusanagi remove -y kusanagi_html

オプション

非対話式

[-y]

-y を指定しない場合、設定ファイル、DocumentRoot、データベースを削除する際に、対話的に y/n を入力します。
-y を指定する場合、y/n を入力することなくすべて削除します。

プロファイル名

[profile]

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

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

使用例

# kusanagi remove kusanagi_html
remove configuration files for profile? [y/n] y
remove contents in /home/kusanagi/profile? [y/n] y
remove database for profile? [y/n] y
reload completed.
remove completed.
超高速CMS実行環境 KUSANAGI
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.