Command Reference ( cmdbox mode )

List of cmdbox mode commands.

cmdbox ( down ) : cmdbox -m cmdbox -c down <Option>

  • Stops the container.

Option

Type

Multi

Required

Default

Choices

Description

-C, --container <container>

str

Specify the container name.

Output Schema

This command implements output_schema() returning Result model.

{
  "success": {
    "performance": [
      {
        "key": "string",
        "value": null
      }
    ],
    "data": "string"
  },
  "warn": {},
  "error": {},
  "schema": {},
  "end": false
}

Field

Type

Required

Default

Description

success

Data | null

no

null

成功した場合の結果

success.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

success.data

str | null

no

null

処理結果のデータ

warn

dict[str, any] | Data | str | bool | null

no

null

警告がある場合の結果

warn.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

error

dict[str, any] | Data | str | bool | null

no

null

エラーがある場合の結果

error.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

schema

dict[str, any] | null

no

null

スキーマ情報

end

bool | null

no

null

終了フラグ

cmdbox ( exec ) : cmdbox -m cmdbox -c exec <Option>

  • Execute any command inside the container.

Option

Type

Multi

Required

Default

Choices

Description

-C, --container <container>

str

Specify the container name.

--compose_path <compose_path>

file

Specify the docker-compose.yml file.

--command <command>

str

required

False

Specify the command to execute.

Output Schema

This command implements output_schema() returning Result model.

{
  "success": {
    "performance": [
      {
        "key": "string",
        "value": null
      }
    ],
    "data": "string"
  },
  "warn": {},
  "error": {},
  "schema": {},
  "end": false
}

Field

Type

Required

Default

Description

success

Data | null

no

null

成功した場合の結果

success.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

success.data

str | null

no

null

処理結果のデータ

warn

dict[str, any] | Data | str | bool | null

no

null

警告がある場合の結果

warn.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

error

dict[str, any] | Data | str | bool | null

no

null

エラーがある場合の結果

error.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

schema

dict[str, any] | null

no

null

スキーマ情報

end

bool | null

no

null

終了フラグ

cmdbox ( load ) : cmdbox -m cmdbox -c load <Option>

  • Loads the container image.

Option

Type

Multi

Required

Default

Choices

Description

--image_file <image_file>

file

Specify the source image file.

-C, --container <container>

str

Specify the container name.

--install_tag <install_tag>

str

If specified, you can add to the tag name of the docker image to create.

--compose_path <compose_path>

file

Specify the docker-compose.yml file.

Output Schema

This command implements output_schema() returning Result model.

{
  "success": {
    "performance": [
      {
        "key": "string",
        "value": null
      }
    ],
    "data": "string"
  },
  "warn": {},
  "error": {},
  "schema": {},
  "end": false
}

Field

Type

Required

Default

Description

success

Data | null

no

null

成功した場合の結果

success.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

success.data

str | null

no

null

処理結果のデータ

warn

dict[str, any] | Data | str | bool | null

no

null

警告がある場合の結果

warn.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

error

dict[str, any] | Data | str | bool | null

no

null

エラーがある場合の結果

error.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

schema

dict[str, any] | null

no

null

スキーマ情報

end

bool | null

no

null

終了フラグ

cmdbox ( logs ) : cmdbox -m cmdbox -c logs <Option>

  • Displays the logs of the container.

Option

Type

Multi

Required

Default

Choices

Description

-C, --container <container>

str

Specify the container name.

-F, --follow <follow>

bool

False

True | False

Follow log output.

--number <number>

int

20

Outputs the specified number of lines from the end of the log.

--compose_path <compose_path>

file

Specify the docker-compose.yml file.

Output Schema

This command implements output_schema() returning Result model.

{
  "success": {
    "performance": [
      {
        "key": "string",
        "value": null
      }
    ],
    "data": "string"
  },
  "warn": {},
  "error": {},
  "schema": {},
  "end": false
}

Field

Type

Required

Default

Description

success

Data | null

no

null

成功した場合の結果

success.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

success.data

str | null

no

null

処理結果のデータ

warn

dict[str, any] | Data | str | bool | null

no

null

警告がある場合の結果

warn.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

error

dict[str, any] | Data | str | bool | null

no

null

エラーがある場合の結果

error.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

schema

dict[str, any] | null

no

null

スキーマ情報

end

bool | null

no

null

終了フラグ

cmdbox ( pgsql_install ) : cmdbox -m cmdbox -c pgsql_install <Option>

  • Installs the PostgreSQL server.

Option

Type

Multi

Required

Default

Choices

Description

--install_pgsqlver <install_pgsqlver>

str

required

18

Specify the PostgreSQL version.

--install_from <install_from>

str

postgres:18.2

Specify the source PostgreSQL image to install.

--install_tag <install_tag>

str

If specified, you can add to the tag name of the docker image to create.

--no_install_pgvector <no_install_pgvector>

bool

False

Specify whether not to install the pgvector extension.

--install_pgvector_tag <install_pgvector_tag>

str

v0.8.2

Specify the tag name in the pgvector extension repository https://github.com/pgvector/pgvector.git.

--no_install_age <no_install_age>

bool

False

Specify whether not to install the Apache AGE extension.

--install_age_tag <install_age_tag>

str

release/PG18/1.7.0

Specify the tag name in the Apache AGE extension repository https://github.com/apache/age.git.

--no_install_pgcron <no_install_pgcron>

bool

False

Specify whether not to install the pg_cron extension.

--install_pgcron_tag <install_pgcron_tag>

str

v1.6.7

Specify the tag name in the pg_cron extension repository https://github.com/citusdata/pg_cron.git.

--compose_path <compose_path>

file

Specify the docker-compose.yml file.

Output Schema

This command implements output_schema() returning Result model.

{
  "success": {
    "performance": [
      {
        "key": "string",
        "value": null
      }
    ],
    "data": "string"
  },
  "warn": {},
  "error": {},
  "schema": {},
  "end": false
}

Field

Type

Required

Default

Description

success

Data | null

no

null

成功した場合の結果

success.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

success.data

str | null

no

null

処理結果のデータ

warn

dict[str, any] | Data | str | bool | null

no

null

警告がある場合の結果

warn.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

error

dict[str, any] | Data | str | bool | null

no

null

エラーがある場合の結果

error.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

schema

dict[str, any] | null

no

null

スキーマ情報

end

bool | null

no

null

終了フラグ

cmdbox ( pgsql_load ) : cmdbox -m cmdbox -c pgsql_load <Option>

  • Loads the cmdbox PostgreSQL.

Option

Type

Multi

Required

Default

Choices

Description

--image_file <image_file>

file

Specify the source image file.

--install_pgsqlver <install_pgsqlver>

str

required

18

Specify the PostgreSQL version.

--install_tag <install_tag>

str

If specified, you can add to the tag name of the docker image to create.

--compose_path <compose_path>

file

Specify the docker-compose.yml file.

Output Schema

This command implements output_schema() returning Result model.

{
  "success": {
    "performance": [
      {
        "key": "string",
        "value": null
      }
    ],
    "data": "string"
  },
  "warn": {},
  "error": {},
  "schema": {},
  "end": false
}

Field

Type

Required

Default

Description

success

Data | null

no

null

成功した場合の結果

success.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

success.data

str | null

no

null

処理結果のデータ

warn

dict[str, any] | Data | str | bool | null

no

null

警告がある場合の結果

warn.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

error

dict[str, any] | Data | str | bool | null

no

null

エラーがある場合の結果

error.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

schema

dict[str, any] | null

no

null

スキーマ情報

end

bool | null

no

null

終了フラグ

cmdbox ( reboot ) : cmdbox -m cmdbox -c reboot <Option>

  • Reboots the container.

Option

Type

Multi

Required

Default

Choices

Description

-C, --container <container>

str

Specify the container name.

--compose_path <compose_path>

file

Specify the docker-compose.yml file.

Output Schema

This command implements output_schema() returning Result model.

{
  "success": {
    "performance": [
      {
        "key": "string",
        "value": null
      }
    ],
    "data": "string"
  },
  "warn": {},
  "error": {},
  "schema": {},
  "end": false
}

Field

Type

Required

Default

Description

success

Data | null

no

null

成功した場合の結果

success.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

success.data

str | null

no

null

処理結果のデータ

warn

dict[str, any] | Data | str | bool | null

no

null

警告がある場合の結果

warn.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

error

dict[str, any] | Data | str | bool | null

no

null

エラーがある場合の結果

error.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

schema

dict[str, any] | null

no

null

スキーマ情報

end

bool | null

no

null

終了フラグ

cmdbox ( redis_install ) : cmdbox -m cmdbox -c redis_install <Option>

  • Installs the cmdbox Redis.

Option

Type

Multi

Required

Default

Choices

Description

--install_from <install_from>

str

ubuntu/redis:latest

Specify the source Redis image to install.

--install_tag <install_tag>

str

If specified, you can add to the tag name of the docker image to create.

--compose_path <compose_path>

file

Specify the docker-compose.yml file.

Output Schema

This command implements output_schema() returning Result model.

{
  "success": {
    "performance": [
      {
        "key": "string",
        "value": null
      }
    ],
    "data": "string"
  },
  "warn": {},
  "error": {},
  "schema": {},
  "end": false
}

Field

Type

Required

Default

Description

success

Data | null

no

null

成功した場合の結果

success.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

success.data

str | null

no

null

処理結果のデータ

warn

dict[str, any] | Data | str | bool | null

no

null

警告がある場合の結果

warn.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

error

dict[str, any] | Data | str | bool | null

no

null

エラーがある場合の結果

error.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

schema

dict[str, any] | null

no

null

スキーマ情報

end

bool | null

no

null

終了フラグ

cmdbox ( redis_load ) : cmdbox -m cmdbox -c redis_load <Option>

  • Loads the cmdbox Redis.

Option

Type

Multi

Required

Default

Choices

Description

--image_file <image_file>

file

Specify the source image file.

--install_tag <install_tag>

str

If specified, you can add to the tag name of the docker image to create.

--compose_path <compose_path>

file

Specify the docker-compose.yml file.

Output Schema

This command implements output_schema() returning Result model.

{
  "success": {
    "performance": [
      {
        "key": "string",
        "value": null
      }
    ],
    "data": "string"
  },
  "warn": {},
  "error": {},
  "schema": {},
  "end": false
}

Field

Type

Required

Default

Description

success

Data | null

no

null

成功した場合の結果

success.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

success.data

str | null

no

null

処理結果のデータ

warn

dict[str, any] | Data | str | bool | null

no

null

警告がある場合の結果

warn.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

error

dict[str, any] | Data | str | bool | null

no

null

エラーがある場合の結果

error.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

schema

dict[str, any] | null

no

null

スキーマ情報

end

bool | null

no

null

終了フラグ

cmdbox ( save ) : cmdbox -m cmdbox -c save <Option>

  • Saves the container image.

Option

Type

Multi

Required

Default

Choices

Description

-C, --container <container>

str

Specify the container name.

--image_file <image_file>

file

Specify the destination image file.

--install_tag <install_tag>

str

If specified, you can add to the tag name of the docker image to create.

--compose_path <compose_path>

file

Specify the docker-compose.yml file.

Output Schema

This command implements output_schema() returning Result model.

{
  "success": {
    "performance": [
      {
        "key": "string",
        "value": null
      }
    ],
    "data": "string"
  },
  "warn": {},
  "error": {},
  "schema": {},
  "end": false
}

Field

Type

Required

Default

Description

success

Data | null

no

null

成功した場合の結果

success.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

success.data

str | null

no

null

処理結果のデータ

warn

dict[str, any] | Data | str | bool | null

no

null

警告がある場合の結果

warn.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

error

dict[str, any] | Data | str | bool | null

no

null

エラーがある場合の結果

error.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

schema

dict[str, any] | null

no

null

スキーマ情報

end

bool | null

no

null

終了フラグ

cmdbox ( server_install ) : cmdbox -m cmdbox -c server_install <Option>

  • Install the cmdbox container.

Option

Type

Multi

Required

Default

Choices

Description

--data <data>

dir

C:Usershama.cmdbox

When omitted, $HONE/.cmdbox is used.

--install_cmdbox <install_cmdbox>

str

cmdbox==0.7.10

When omitted, cmdbox==0.7.10 is used.

--install_from <install_from>

str

Specify the FROM image that will be the source of the docker image to be created.

--install_no_python <install_no_python>

bool

False

True | False

Do not install python.

--install_compile_python <install_compile_python>

bool

False

True | False

Compile and install python3; if install_no_python is specified, it is preferred.

--install_tag <install_tag>

str

If specified, you can add to the tag name of the docker image to create.

--install_use_gpu <install_use_gpu>

bool

False

True | False

Install with a module configuration that uses the GPU.

--tts_engine <tts_engine>

str

required

voicevox

voicevox

Specify the TTS engine to use.

--voicevox_ver <voicevox_ver>

str

0.16.3

0.16.3

Specify the version of VOICEVOX to use.

--voicevox_whl <voicevox_whl>

str

voicevox_core-0.16.3-cp310-abi3-manylinux_2_34_x86_64.whl

voicevox_core-0.16.3-cp310-abi3-win32.whl | voicevox_core-0.16.3-cp310-abi3-win_amd64.whl | voicevox_core-0.16.3-cp310-abi3-macosx_10_12_x86_64.whl | voicevox_core-0.16.3-cp310-abi3-macosx_11_0_arm64.whl | voicevox_core-0.16.3-cp310-abi3-manylinux_2_34_aarch64.whl | voicevox_core-0.16.3-cp310-abi3-manylinux_2_34_x86_64.whl

Specify the VOICEVOX wheel file to use.

--init_extra <init_extra>

str

multi

Specify the command to be executed immediately after “from”.

--run_extra_pre <run_extra_pre>

str

multi

Specify additional commands to run before install_extra execution.

--run_extra_post <run_extra_post>

str

multi

Specify additional commands to run after install_extra execution.

--install_extra <install_extra>

str

multi

Specify additional packages to install.

--compose_path <compose_path>

file

Specify the docker-compose.yml file.

Output Schema

This command implements output_schema() returning Result model.

{
  "success": {
    "performance": [
      {
        "key": "string",
        "value": null
      }
    ],
    "data": "string"
  },
  "warn": {},
  "error": {},
  "schema": {},
  "end": false
}

Field

Type

Required

Default

Description

success

Data | null

no

null

成功した場合の結果

success.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

success.data

str | null

no

null

処理結果のデータ

warn

dict[str, any] | Data | str | bool | null

no

null

警告がある場合の結果

warn.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

error

dict[str, any] | Data | str | bool | null

no

null

エラーがある場合の結果

error.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

schema

dict[str, any] | null

no

null

スキーマ情報

end

bool | null

no

null

終了フラグ

cmdbox ( server_load ) : cmdbox -m cmdbox -c server_load <Option>

  • Load the cmdbox container image.

Option

Type

Multi

Required

Default

Choices

Description

--data <data>

dir

C:Usershama.cmdbox

When omitted, $HONE/.cmdbox is used.

--image_file <image_file>

file

Specify the source image file.

--install_tag <install_tag>

str

If specified, you can add to the tag name of the docker image to create.

--install_use_gpu <install_use_gpu>

bool

False

True | False

Install with a module configuration that uses the GPU.

--compose_path <compose_path>

file

Specify the docker-compose.yml file.

Output Schema

This command implements output_schema() returning Result model.

{
  "success": {
    "performance": [
      {
        "key": "string",
        "value": null
      }
    ],
    "data": "string"
  },
  "warn": {},
  "error": {},
  "schema": {},
  "end": false
}

Field

Type

Required

Default

Description

success

Data | null

no

null

成功した場合の結果

success.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

success.data

str | null

no

null

処理結果のデータ

warn

dict[str, any] | Data | str | bool | null

no

null

警告がある場合の結果

warn.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

error

dict[str, any] | Data | str | bool | null

no

null

エラーがある場合の結果

error.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

schema

dict[str, any] | null

no

null

スキーマ情報

end

bool | null

no

null

終了フラグ

cmdbox ( uninstall ) : cmdbox -m cmdbox -c uninstall <Option>

  • Uninstalls the container.

Option

Type

Multi

Required

Default

Choices

Description

-C, --container <container>

str

Specify the container name.

--install_tag <install_tag>

str

If specified, you can add to the tag name of the docker image to create.

--compose_path <compose_path>

file

Specify the docker-compose.yml file.

Output Schema

This command implements output_schema() returning Result model.

{
  "success": {
    "performance": [
      {
        "key": "string",
        "value": null
      }
    ],
    "data": "string"
  },
  "warn": {},
  "error": {},
  "schema": {},
  "end": false
}

Field

Type

Required

Default

Description

success

Data | null

no

null

成功した場合の結果

success.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

success.data

str | null

no

null

処理結果のデータ

warn

dict[str, any] | Data | str | bool | null

no

null

警告がある場合の結果

warn.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

error

dict[str, any] | Data | str | bool | null

no

null

エラーがある場合の結果

error.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

schema

dict[str, any] | null

no

null

スキーマ情報

end

bool | null

no

null

終了フラグ

cmdbox ( up ) : cmdbox -m cmdbox -c up <Option>

  • Starts the container.

Option

Type

Multi

Required

Default

Choices

Description

-C, --container <container>

str

Specify the container name.

--compose_path <compose_path>

file

Specify the docker-compose.yml file.

Output Schema

This command implements output_schema() returning Result model.

{
  "success": {
    "performance": [
      {
        "key": "string",
        "value": null
      }
    ],
    "data": "string"
  },
  "warn": {},
  "error": {},
  "schema": {},
  "end": false
}

Field

Type

Required

Default

Description

success

Data | null

no

null

成功した場合の結果

success.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

success.data

str | null

no

null

処理結果のデータ

warn

dict[str, any] | Data | str | bool | null

no

null

警告がある場合の結果

warn.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

error

dict[str, any] | Data | str | bool | null

no

null

エラーがある場合の結果

error.performance

list[KeyVal] | null

no

null

パフォーマンス情報のリスト

schema

dict[str, any] | null

no

null

スキーマ情報

end

bool | null

no

null

終了フラグ