ローカル参照と公開済みの全モードを含む完全パッケージをインストールします。
install tomltomlhost を持つ [database] テーブルは database.host で指定します。パーサーは一般的なホスティング設定向けで、複雑な
toml <file> [key|options] · toml dump <file>toml <file>toml <file> <key>ドット区切りの完全一致パスを表示する
toml dump <file>正規化した
-f <text|mask> [-k|-v]キーまたは値を検索する。* と ? を含む場合はマスクとして扱う
-w <key> : <value>値をファイルへ直接書き込む
-w <key> < <file>別ファイルから読み取った値を書き込む
-d <key>ドット区切りパスの値を削除する
-c現在の core では、正常に開いたファイルをすぐに $ で再利用できます。このモジュールがその拡張子に対するインストール済みハンドラーのうち最優先なら、ファイル名だけを入力してこのコマンドで開けます。これらは core の補助機能であり、明示的な形式は
-f はパスと値を検索します。キーだけなら -k、値だけなら -v を追加します。* または ? を含む検索語はマスクとして扱います。
-w は変更を直ちにファイルへ書き込みます。: の後ろに値を直接指定し、< <file> では別ファイルから値を読みます。-d は 1 つのドット区切りパスを削除します。
このモジュールは共有ホスティングで一般的な設定形式の範囲を意図的に実装します。高度な形式機能は暗黙に解釈せず、edit または code でテキストとして編集してください。
用意された例をページ上でそのまま実行できます。結果は事前に生成されてブラウザに表示され、サーバーではターミナルコマンドを実行しません。
現在の互換バージョンをインストールします。全機能は Base、縮小版は Minimum を選び、すでに導入済みのモジュール更新には upgrade を使います。
Base と Minimum は同じ現在のモジュールリリースの二つのパッケージです。
ローカル参照と公開済みの全モードを含む完全パッケージをインストールします。
install toml縮小パッケージをインストールします。ローカルリファレンスは含まれず、
install toml -mこの公開済みバージョンを正確に指定してインストールします。
install toml -v 1.1.5upgrade が互換性を確認し、必要な場合だけブロックを置換します。
upgrade tomlコアや他のモジュールに触れず拡張ブロックを削除します。
install toml -u例はコピーできますが、サイトは実行しません。実プロジェクトではパス、権限、破壊的オプションを確認してください。
cd \sandbox\config | toml app.tomlapplication.name lil-shop
application.debug true
database.host localhost
database.port 3306
database.options.0 utf8mb4
database.options.1 strictapp.tomlapplication.name lil-shop
application.debug true
database.host localhost
database.port 3306
database.options.0 utf8mb4
database.options.1 stricttoml $ database.hostlocalhosttoml $ -f "database*" -kdatabase.host localhost
database.port 3306
database.options.0 utf8mb4
database.options.1 stricttoml $ -f "strict" -vdatabase.options.1 stricttoml $ -w database.port : 3307database.port 3307toml $ -d database.portdatabase.host localhosttoml $ -cValid TOMLtoml dump $[application]
name = "lil-shop"
debug = true
[database]
host = "localhost"
port = 3306toml \sandbox\config\missing.tomlファイルが見つかりませんsandbox/config/app.toml例では、保護されたドキュメント用 /sandbox/ ワークスペースのファイルまたはディレクトリを使います。
[application]
name = "lil-shop"
debug = true
[database]
host = "localhost"
port = 3306
options = ["utf8mb4", "strict"]