CommandBoxってなに?
おおざっぱに言うと、CFMLフレームワークであるColdBoxを便利に使うためのCLI。でも他にも多分機能たくさんある。
導入
ダウンロード
https://www.ortussolutions.com/products/commandbox
設置
box.exe(とランタイム入りならJREフォルダも)を任意のディレクトリに解凍。
初回起動時、ユーザーのホームディレクトリにフォルダが作られます。
C:\Users\hoge\.CommandBox
別のフォルダに作りたい場合は以下のリンクに方法があります。
https://commandbox.ortusbooks.com/setup/installation
アップデート
最新バージョンへのアップデート方法
CommandBox> upgrade --latest
自動アップデート方法
https://www.forgebox.io/view/commandbox-update-check
開発用ローカルサーバー
サーバー起動
server start --debug --console
サーバーログについて
https://commandbox.ortusbooks.com/embedded-server/server-logs
その他
パッケージリポジトリ
https://www.forgebox.io/
info
で、日替わりでステレオグラムアスキーアートが表示されるのがひそかな楽しみです。例えばこんな感じ。
****************************************************************************************************
* About CommandBox *
****************************************************************************************************
(中略)
****************************************************************************************************
Here is an ASCII art stereogram.
Stare at it and diverge your eyes (the opposite of crossing them)
If you can't see it, you can come back later.
This image will be here all day. Tomorrow holds a new day and a new image.
Dr. Dr. Dr. Dr. Dr. Dr.
H O * W H O * W H O * W H O* * W H O * * W H O
* * * * * * * * * * *
\|/ * \|/ * \|/ * \|/ * \|/ * \|/
__^__ * __^__ *__^__* __^__ * __^__ * __^__
|#|#| * |#|#| * |#|#| * |#|#| * |#|#| * |#|#|
|L|L| * |L|L| * |L|L| * |L|L| *|L|L|* |L|L|
|L|L|* |L|L| * |L|L| * |L|L| * |L|L| * |L|L|
|L|L| * |L|L| * |L|L| * |L|L| * |L|L| * |L|L|
----- * ----- * -----* *----- * ----- * -----
Dr. * Dr. * Dr. * Dr. * Dr. * Dr.
H O * W H O * W H O * W H O * W H O * W H O
CommandBox>