cmdbox 0.6.1.1__py3-none-any.whl → 0.6.2__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of cmdbox might be problematic. Click here for more details.
- cmdbox/app/auth/signin.py +7 -3
- cmdbox/app/edge.py +3 -3
- cmdbox/app/features/cli/agent_base.py +42 -42
- cmdbox/app/features/cli/audit_base.py +28 -28
- cmdbox/app/features/cli/cmdbox_audit_createdb.py +28 -28
- cmdbox/app/features/cli/cmdbox_audit_delete.py +26 -26
- cmdbox/app/features/cli/cmdbox_audit_search.py +42 -42
- cmdbox/app/features/cli/cmdbox_audit_write.py +22 -22
- cmdbox/app/features/cli/cmdbox_client_file_copy.py +36 -36
- cmdbox/app/features/cli/cmdbox_client_file_download.py +38 -38
- cmdbox/app/features/cli/cmdbox_client_file_list.py +34 -34
- cmdbox/app/features/cli/cmdbox_client_file_mkdir.py +32 -32
- cmdbox/app/features/cli/cmdbox_client_file_move.py +34 -34
- cmdbox/app/features/cli/cmdbox_client_file_remove.py +32 -32
- cmdbox/app/features/cli/cmdbox_client_file_rmdir.py +32 -32
- cmdbox/app/features/cli/cmdbox_client_file_upload.py +38 -38
- cmdbox/app/features/cli/cmdbox_client_server_info.py +26 -26
- cmdbox/app/features/cli/cmdbox_cmd_list.py +22 -21
- cmdbox/app/features/cli/cmdbox_cmd_load.py +24 -20
- cmdbox/app/features/cli/cmdbox_edge_config.py +40 -40
- cmdbox/app/features/cli/cmdbox_edge_start.py +4 -4
- cmdbox/app/features/cli/cmdbox_gui_start.py +2 -2
- cmdbox/app/features/cli/cmdbox_gui_stop.py +2 -2
- cmdbox/app/features/cli/cmdbox_mcp_proxy.py +17 -11
- cmdbox/app/features/cli/cmdbox_server_list.py +20 -20
- cmdbox/app/features/cli/cmdbox_server_start.py +26 -26
- cmdbox/app/features/cli/cmdbox_server_stop.py +26 -26
- cmdbox/app/features/cli/cmdbox_web_apikey_add.py +24 -24
- cmdbox/app/features/cli/cmdbox_web_apikey_del.py +24 -24
- cmdbox/app/features/cli/cmdbox_web_gencert.py +24 -24
- cmdbox/app/features/cli/cmdbox_web_genpass.py +20 -20
- cmdbox/app/features/cli/cmdbox_web_group_add.py +26 -26
- cmdbox/app/features/cli/cmdbox_web_group_del.py +22 -22
- cmdbox/app/features/cli/cmdbox_web_group_edit.py +26 -26
- cmdbox/app/features/cli/cmdbox_web_group_list.py +22 -22
- cmdbox/app/features/cli/cmdbox_web_start.py +65 -65
- cmdbox/app/features/cli/cmdbox_web_stop.py +10 -10
- cmdbox/app/features/cli/cmdbox_web_user_add.py +32 -32
- cmdbox/app/features/cli/cmdbox_web_user_del.py +22 -22
- cmdbox/app/features/cli/cmdbox_web_user_edit.py +32 -32
- cmdbox/app/features/cli/cmdbox_web_user_list.py +22 -22
- cmdbox/app/features/web/cmdbox_web_agent.py +0 -4
- cmdbox/app/mcp.py +316 -120
- cmdbox/app/options.py +21 -21
- cmdbox/app/web.py +1 -1
- cmdbox/extensions/sample_project/sample/app/features/cli/sample_client_time.py +4 -4
- cmdbox/extensions/sample_project/sample/app/features/cli/sample_server_time.py +18 -18
- cmdbox/extensions/sample_project/sample/extensions/user_list.yml +4 -0
- cmdbox/extensions/user_list.yml +4 -0
- cmdbox/licenses/LICENSE_dnspython_2_7_0_ISC_License-ISCL.txt +35 -0
- cmdbox/licenses/LICENSE_email_validator_2_2_0_The_Unlicense-Unlicense.txt +27 -0
- cmdbox/licenses/files.txt +4 -2
- cmdbox/version.py +2 -2
- cmdbox/web/agent.html +2 -2
- cmdbox/web/assets/cmdbox/audit.js +14 -14
- cmdbox/web/assets/cmdbox/common.js +21 -7
- cmdbox/web/assets/cmdbox/list_cmd.js +5 -5
- cmdbox/web/assets/cmdbox/signin.js +17 -7
- cmdbox/web/assets/cmdbox/svgicon.js +3 -3
- cmdbox/web/assets/cmdbox/users.js +14 -5
- cmdbox/web/audit.html +6 -6
- cmdbox/web/signin.html +13 -10
- cmdbox/web/users.html +4 -4
- {cmdbox-0.6.1.1.dist-info → cmdbox-0.6.2.dist-info}/METADATA +27 -23
- {cmdbox-0.6.1.1.dist-info → cmdbox-0.6.2.dist-info}/RECORD +71 -69
- /cmdbox/licenses/{LICENSE_fastmcp_2_9_2_Apache_Software_License.txt → LICENSE_fastmcp_2_10_1_Apache_Software_License.txt} +0 -0
- /cmdbox/licenses/{LICENSE_mcp_1_9_4_MIT_License.txt → LICENSE_mcp_1_10_1_MIT_License.txt} +0 -0
- {cmdbox-0.6.1.1.dist-info → cmdbox-0.6.2.dist-info}/LICENSE +0 -0
- {cmdbox-0.6.1.1.dist-info → cmdbox-0.6.2.dist-info}/WHEEL +0 -0
- {cmdbox-0.6.1.1.dist-info → cmdbox-0.6.2.dist-info}/entry_points.txt +0 -0
- {cmdbox-0.6.1.1.dist-info → cmdbox-0.6.2.dist-info}/top_level.txt +0 -0
|
@@ -35,45 +35,45 @@ class ServerStop(feature.OneshotNotifyEdgeFeature):
|
|
|
35
35
|
"""
|
|
36
36
|
return dict(
|
|
37
37
|
use_redis=self.USE_REDIS_TRUE, nouse_webmode=True,
|
|
38
|
-
|
|
39
|
-
|
|
38
|
+
description_ja="サーバーを停止します。installモードで `cmdbox -m install -c server` を実行している場合は、 `docker-compose down` を使用してください。",
|
|
39
|
+
description_en="Stop the inference server. If you are running `cmdbox -m install -c server` in install mode, use `docker-compose down`.",
|
|
40
40
|
choice=[
|
|
41
41
|
dict(opt="host", type=Options.T_STR, default=self.default_host, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
description_ja="Redisサーバーのサービスホストを指定します。",
|
|
43
|
+
description_en="Specify the service host of the Redis server."),
|
|
44
44
|
dict(opt="port", type=Options.T_INT, default=self.default_port, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
45
|
-
|
|
46
|
-
|
|
45
|
+
description_ja="Redisサーバーのサービスポートを指定します。",
|
|
46
|
+
description_en="Specify the service port of the Redis server."),
|
|
47
47
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
description_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
49
|
+
description_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
50
50
|
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None, web="readonly",
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
description_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
52
|
+
description_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
53
53
|
dict(opt="retry_count", type=Options.T_INT, default=3, required=False, multi=False, hide=True, choice=None,
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
description_ja="Redisサーバーへの再接続回数を指定します。0以下を指定すると永遠に再接続を行います。",
|
|
55
|
+
description_en="Specifies the number of reconnections to the Redis server.If less than 0 is specified, reconnection is forever."),
|
|
56
56
|
dict(opt="retry_interval", type=Options.T_INT, default=5, required=False, multi=False, hide=True, choice=None,
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
description_ja="Redisサーバーに再接続までの秒数を指定します。",
|
|
58
|
+
description_en="Specifies the number of seconds before reconnecting to the Redis server."),
|
|
59
59
|
dict(opt="timeout", type=Options.T_INT, default="15", required=False, multi=False, hide=True, choice=None,
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
description_ja="サーバーの応答が返ってくるまでの最大待ち時間を指定。",
|
|
61
|
+
description_en="Specify the maximum waiting time until the server responds."),
|
|
62
62
|
dict(opt="output_json", short="o", type=Options.T_FILE, default=None, required=False, multi=False, hide=True, choice=None, fileio="out",
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
description_ja="処理結果jsonの保存先ファイルを指定。",
|
|
64
|
+
description_en="Specify the destination file for saving the processing result json."),
|
|
65
65
|
dict(opt="output_json_append", short="a", type=Options.T_BOOL, default=False, required=False, multi=False, hide=True, choice=[True, False],
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
description_ja="処理結果jsonファイルを追記保存します。",
|
|
67
|
+
description_en="Save the processing result json file by appending."),
|
|
68
68
|
dict(opt="stdout_log", type=Options.T_BOOL, default=True, required=False, multi=False, hide=True, choice=[True, False],
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
description_ja="GUIモードでのみ使用可能です。コマンド実行時の標準出力をConsole logに出力します。",
|
|
70
|
+
description_en="Available only in GUI mode. Outputs standard output during command execution to Console log."),
|
|
71
71
|
dict(opt="capture_stdout", type=Options.T_BOOL, default=True, required=False, multi=False, hide=True, choice=[True, False],
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
description_ja="GUIモードでのみ使用可能です。コマンド実行時の標準出力をキャプチャーし、実行結果画面に表示します。",
|
|
73
|
+
description_en="Available only in GUI mode. Captures standard output during command execution and displays it on the execution result screen."),
|
|
74
74
|
dict(opt="capture_maxsize", type=Options.T_INT, default=self.DEFAULT_CAPTURE_MAXSIZE, required=False, multi=False, hide=True, choice=None,
|
|
75
|
-
|
|
76
|
-
|
|
75
|
+
description_ja="GUIモードでのみ使用可能です。コマンド実行時の標準出力の最大キャプチャーサイズを指定します。",
|
|
76
|
+
description_en="Available only in GUI mode. Specifies the maximum capture size of standard output when executing commands."),
|
|
77
77
|
]
|
|
78
78
|
)
|
|
79
79
|
|
|
@@ -34,42 +34,42 @@ class WebApikeyAdd(feature.UnsupportEdgeFeature):
|
|
|
34
34
|
"""
|
|
35
35
|
return dict(
|
|
36
36
|
use_redis=self.USE_REDIS_MEIGHT, nouse_webmode=False,
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
description_ja="WebモードのユーザーのApiKeyを追加します。",
|
|
38
|
+
description_en="Add an ApiKey for a user in Web mode.",
|
|
39
39
|
choice=[
|
|
40
40
|
dict(opt="host", type=Options.T_STR, default=self.default_host, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
description_ja="Redisサーバーのサービスホストを指定します。",
|
|
42
|
+
description_en="Specify the service host of the Redis server."),
|
|
43
43
|
dict(opt="port", type=Options.T_INT, default=self.default_port, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
description_ja="Redisサーバーのサービスポートを指定します。",
|
|
45
|
+
description_en="Specify the service port of the Redis server."),
|
|
46
46
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
description_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
48
|
+
description_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
49
49
|
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None, web="readonly",
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
description_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
51
|
+
description_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
52
52
|
dict(opt="data", type=Options.T_FILE, default=self.default_data, required=False, multi=False, hide=False, choice=None,
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
description_ja=f"省略した時は `$HONE/.{self.ver.__appid__}` を使用します。",
|
|
54
|
+
description_en=f"When omitted, `$HONE/.{self.ver.__appid__}` is used."),
|
|
55
55
|
dict(opt="user_name", type=Options.T_STR, default=None, required=True, multi=False, hide=False, choice=None,
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
description_ja="ユーザー名を指定します。他のユーザーと重複しないようにしてください。",
|
|
57
|
+
description_en="Specify a user name. Do not duplicate other users."),
|
|
58
58
|
dict(opt="apikey_name", type=Options.T_STR, default=None, required=True, multi=False, hide=False, choice=None,
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
description_ja="このユーザーのApiKey名を指定します。",
|
|
60
|
+
description_en="Specify the ApiKey name for this user."),
|
|
61
61
|
dict(opt="signin_file", type=Options.T_FILE, default=f".{self.ver.__appid__}/user_list.yml", required=True, multi=False, hide=False, choice=None,
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
description_ja="サインイン可能なユーザーとパスワードを記載したファイルを指定します。省略した時は認証を要求しません。",
|
|
63
|
+
description_en="Specify a file containing users and passwords with which they can signin. If omitted, no authentication is required."),
|
|
64
64
|
dict(opt="stdout_log", type=Options.T_BOOL, default=True, required=False, multi=False, hide=True, choice=[True, False],
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
description_ja="GUIモードでのみ使用可能です。コマンド実行時の標準出力をConsole logに出力します。",
|
|
66
|
+
description_en="Available only in GUI mode. Outputs standard output during command execution to Console log."),
|
|
67
67
|
dict(opt="capture_stdout", type=Options.T_BOOL, default=True, required=False, multi=False, hide=True, choice=[True, False],
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
description_ja="GUIモードでのみ使用可能です。コマンド実行時の標準出力をキャプチャーし、実行結果画面に表示します。",
|
|
69
|
+
description_en="Available only in GUI mode. Captures standard output during command execution and displays it on the execution result screen."),
|
|
70
70
|
dict(opt="capture_maxsize", type=Options.T_INT, default=self.DEFAULT_CAPTURE_MAXSIZE, required=False, multi=False, hide=True, choice=None,
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
description_ja="GUIモードでのみ使用可能です。コマンド実行時の標準出力の最大キャプチャーサイズを指定します。",
|
|
72
|
+
description_en="Available only in GUI mode. Specifies the maximum capture size of standard output when executing commands."),
|
|
73
73
|
]
|
|
74
74
|
)
|
|
75
75
|
|
|
@@ -34,42 +34,42 @@ class WebApikeyDel(feature.UnsupportEdgeFeature):
|
|
|
34
34
|
"""
|
|
35
35
|
return dict(
|
|
36
36
|
use_redis=self.USE_REDIS_MEIGHT, nouse_webmode=False,
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
description_ja="WebモードのユーザーのApiKeyを削除します。",
|
|
38
|
+
description_en="Del an ApiKey for a user in Web mode.",
|
|
39
39
|
choice=[
|
|
40
40
|
dict(opt="host", type=Options.T_STR, default=self.default_host, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
description_ja="Redisサーバーのサービスホストを指定します。",
|
|
42
|
+
description_en="Specify the service host of the Redis server."),
|
|
43
43
|
dict(opt="port", type=Options.T_INT, default=self.default_port, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
description_ja="Redisサーバーのサービスポートを指定します。",
|
|
45
|
+
description_en="Specify the service port of the Redis server."),
|
|
46
46
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
description_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
48
|
+
description_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
49
49
|
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None, web="readonly",
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
description_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
51
|
+
description_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
52
52
|
dict(opt="data", type=Options.T_FILE, default=self.default_data, required=False, multi=False, hide=False, choice=None,
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
description_ja=f"省略した時は `$HONE/.{self.ver.__appid__}` を使用します。",
|
|
54
|
+
description_en=f"When omitted, `$HONE/.{self.ver.__appid__}` is used."),
|
|
55
55
|
dict(opt="user_name", type=Options.T_STR, default=None, required=True, multi=False, hide=False, choice=None,
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
description_ja="ユーザー名を指定します。他のユーザーと重複しないようにしてください。",
|
|
57
|
+
description_en="Specify a user name. Do not duplicate other users."),
|
|
58
58
|
dict(opt="apikey_name", type=Options.T_STR, default=None, required=True, multi=False, hide=False, choice=None,
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
description_ja="このユーザーのApiKey名を指定します。",
|
|
60
|
+
description_en="Specify the ApiKey name for this user."),
|
|
61
61
|
dict(opt="signin_file", type=Options.T_FILE, default=f".{self.ver.__appid__}/user_list.yml", required=True, multi=False, hide=False, choice=None,
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
description_ja="サインイン可能なユーザーとパスワードを記載したファイルを指定します。省略した時は認証を要求しません。",
|
|
63
|
+
description_en="Specify a file containing users and passwords with which they can signin. If omitted, no authentication is required."),
|
|
64
64
|
dict(opt="stdout_log", type=Options.T_BOOL, default=True, required=False, multi=False, hide=True, choice=[True, False],
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
description_ja="GUIモードでのみ使用可能です。コマンド実行時の標準出力をConsole logに出力します。",
|
|
66
|
+
description_en="Available only in GUI mode. Outputs standard output during command execution to Console log."),
|
|
67
67
|
dict(opt="capture_stdout", type=Options.T_BOOL, default=True, required=False, multi=False, hide=True, choice=[True, False],
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
description_ja="GUIモードでのみ使用可能です。コマンド実行時の標準出力をキャプチャーし、実行結果画面に表示します。",
|
|
69
|
+
description_en="Available only in GUI mode. Captures standard output during command execution and displays it on the execution result screen."),
|
|
70
70
|
dict(opt="capture_maxsize", type=Options.T_INT, default=self.DEFAULT_CAPTURE_MAXSIZE, required=False, multi=False, hide=True, choice=None,
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
description_ja="GUIモードでのみ使用可能です。コマンド実行時の標準出力の最大キャプチャーサイズを指定します。",
|
|
72
|
+
description_en="Available only in GUI mode. Specifies the maximum capture size of standard output when executing commands."),
|
|
73
73
|
]
|
|
74
74
|
)
|
|
75
75
|
|
|
@@ -39,42 +39,42 @@ class WebGencert(feature.UnsupportEdgeFeature):
|
|
|
39
39
|
"""
|
|
40
40
|
return dict(
|
|
41
41
|
use_redis=self.USE_REDIS_FALSE, nouse_webmode=False,
|
|
42
|
-
|
|
43
|
-
|
|
42
|
+
description_ja="webモードでSSLを簡易的に実装するために自己署名証明書を生成します。",
|
|
43
|
+
description_en="Generate a self-signed certificate for simple implementation of SSL in web mode.",
|
|
44
44
|
choice=[
|
|
45
45
|
dict(opt="webhost", type=Options.T_STR, default="localhost", required=True, multi=False, hide=False, choice=None,
|
|
46
|
-
|
|
47
|
-
|
|
46
|
+
description_ja="自己署名証明書のCN(Common Name)に指定するホスト名を指定します。",
|
|
47
|
+
description_en="Specify the host name to be specified as the CN (Common Name) of the self-signed certificate."),
|
|
48
48
|
dict(opt="output_cert", type=Options.T_FILE, default=None, required=False, multi=False, hide=False, choice=None,
|
|
49
|
-
|
|
50
|
-
|
|
49
|
+
description_ja="出力する自己署名証明書のファイルを指定します。省略した場合は `webhostオプションに指定したホスト名` .crt に出力されます。",
|
|
50
|
+
description_en="Specify the self-signed certificate file to be output.If omitted, the hostname specified in the `webhost option` .crt will be output."),
|
|
51
51
|
dict(opt="output_cert_format", type=Options.T_STR, default="PEM", required=False, multi=False, hide=False, choice=["DER", "PEM"],
|
|
52
|
-
|
|
53
|
-
|
|
52
|
+
description_ja="出力する自己署名証明書のファイルフォーマットを指定します。",
|
|
53
|
+
description_en="Specifies the file format of the self-signed certificate to be output."),
|
|
54
54
|
dict(opt="output_pkey", type=Options.T_FILE, default=None, required=False, multi=False, hide=False, choice=None,
|
|
55
|
-
|
|
56
|
-
|
|
55
|
+
description_ja="出力する自己署名証明書の公開鍵のファイルを指定します。省略した場合は `webhostオプションに指定したホスト名` .pkey に出力されます。",
|
|
56
|
+
description_en="Specifies the public key file of the self-signed certificate to output. If omitted, the output will be in the `hostname specified in the `webhost option` .pkey."),
|
|
57
57
|
dict(opt="output_pkey_format", type=Options.T_STR, default="PEM", required=False, multi=False, hide=False, choice=["DER", "PEM"],
|
|
58
|
-
|
|
59
|
-
|
|
58
|
+
description_ja="出力する自己署名証明書の公開鍵のファイルフォーマットを指定します。",
|
|
59
|
+
description_en="Specifies the file format of the public key of the self-signed certificate to be output."),
|
|
60
60
|
dict(opt="output_key", type=Options.T_FILE, default=None, required=False, multi=False, hide=False, choice=None,
|
|
61
|
-
|
|
62
|
-
|
|
61
|
+
description_ja="出力する自己署名証明書の秘密鍵ファイルを指定します。省略した場合は `webhostオプションに指定したホスト名` .key に出力されます。",
|
|
62
|
+
description_en="Specifies the private key file of the self-signed certificate to be output.If omitted, the hostname specified in the `webhost option` .key will be output."),
|
|
63
63
|
dict(opt="output_key_format", type=Options.T_STR, default="PEM", required=False, multi=False, hide=False, choice=["DER", "PEM"],
|
|
64
|
-
|
|
65
|
-
|
|
64
|
+
description_ja="出力する自己署名証明書の秘密鍵ファイルフォーマットを指定します。",
|
|
65
|
+
description_en="Specifies the private key file format of the output self-signed certificate."),
|
|
66
66
|
dict(opt="overwrite", type=Options.T_BOOL, default=False, required=False, multi=False, hide=True, choice=[True, False],
|
|
67
|
-
|
|
68
|
-
|
|
67
|
+
description_ja="出力する自己署名証明書のファイルが存在する場合に上書きします。",
|
|
68
|
+
description_en="Overwrites the self-signed certificate file to be output if it exists."),
|
|
69
69
|
dict(opt="stdout_log", type=Options.T_BOOL, default=True, required=False, multi=False, hide=True, choice=[True, False],
|
|
70
|
-
|
|
71
|
-
|
|
70
|
+
description_ja="GUIモードでのみ使用可能です。コマンド実行時の標準出力をConsole logに出力します。",
|
|
71
|
+
description_en="Available only in GUI mode. Outputs standard output during command execution to Console log."),
|
|
72
72
|
dict(opt="capture_stdout", type=Options.T_BOOL, default=True, required=False, multi=False, hide=True, choice=[True, False],
|
|
73
|
-
|
|
74
|
-
|
|
73
|
+
description_ja="GUIモードでのみ使用可能です。コマンド実行時の標準出力をキャプチャーし、実行結果画面に表示します。",
|
|
74
|
+
description_en="Available only in GUI mode. Captures standard output during command execution and displays it on the execution result screen."),
|
|
75
75
|
dict(opt="capture_maxsize", type=Options.T_INT, default=self.DEFAULT_CAPTURE_MAXSIZE, required=False, multi=False, hide=True, choice=None,
|
|
76
|
-
|
|
77
|
-
|
|
76
|
+
description_ja="GUIモードでのみ使用可能です。コマンド実行時の標準出力の最大キャプチャーサイズを指定します。",
|
|
77
|
+
description_en="Available only in GUI mode. Specifies the maximum capture size of standard output when executing commands."),
|
|
78
78
|
]
|
|
79
79
|
)
|
|
80
80
|
|
|
@@ -41,36 +41,36 @@ class WebGenpass(feature.OneshotResultEdgeFeature):
|
|
|
41
41
|
"""
|
|
42
42
|
return dict(
|
|
43
43
|
use_redis=self.USE_REDIS_FALSE, nouse_webmode=False,
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
description_ja="webモードで使用できるパスワード文字列を生成します。",
|
|
45
|
+
description_en="Generates a password string that can be used in web mode.",
|
|
46
46
|
choice=[
|
|
47
47
|
dict(opt="pass_length", type=Options.T_INT, default=16, required=False, multi=False, hide=False, choice=None,
|
|
48
|
-
|
|
49
|
-
|
|
48
|
+
description_ja="パスワードの長さを指定します。",
|
|
49
|
+
description_en="Specifies the length of the password."),
|
|
50
50
|
dict(opt="pass_count", type=Options.T_INT, default=5, required=False, multi=False, hide=False, choice=None,
|
|
51
|
-
|
|
52
|
-
|
|
51
|
+
description_ja="生成するパスワードの件数を指定します。",
|
|
52
|
+
description_en="Specify the number of passwords to be generated."),
|
|
53
53
|
dict(opt="use_alphabet", type=Options.T_STR, default='both', required=False, multi=False, hide=False, choice=['notuse','upper','lower','both'],
|
|
54
|
-
|
|
55
|
-
|
|
54
|
+
description_ja="パスワードに使用するアルファベットの種類を指定します。 `notuse` , `upper` , `lower` , `both` が指定できます。",
|
|
55
|
+
description_en="Specifies the type of alphabet used for the password. `notuse` , `upper` , `lower` , `both` can be specified."),
|
|
56
56
|
dict(opt="use_number", type=Options.T_STR, default="use", required=False, multi=False, hide=False, choice=['notuse', 'use'],
|
|
57
|
-
|
|
58
|
-
|
|
57
|
+
description_ja="パスワードに使用する数字の種類を指定します。 `notuse` , `use` が指定できます。",
|
|
58
|
+
description_en="Specify the type of number to be used for the password. `notuse` , `use` can be specified."),
|
|
59
59
|
dict(opt="use_symbol", type=Options.T_STR, default='use', required=False, multi=False, hide=False, choice=['notuse','use'],
|
|
60
|
-
|
|
61
|
-
|
|
60
|
+
description_ja="パスワードに使用する記号の種類を指定します。 `notuse` , `use` が指定できます。",
|
|
61
|
+
description_en="Specifies the type of symbol used in the password. `notuse` , `use` can be specified."),
|
|
62
62
|
dict(opt="similar", type=Options.T_STR, default='exclude', required=False, multi=False, hide=True, choice=['exclude', 'include'],
|
|
63
|
-
|
|
64
|
-
|
|
63
|
+
description_ja="特定の似た文字を使用するかどうかを指定します。 `exclude` , `include` が指定できます。",
|
|
64
|
+
description_en="Specifies whether certain similar characters should be used. `exclude` , `include` can be specified."),
|
|
65
65
|
dict(opt="stdout_log", type=Options.T_BOOL, default=True, required=False, multi=False, hide=True, choice=[True, False],
|
|
66
|
-
|
|
67
|
-
|
|
66
|
+
description_ja="GUIモードでのみ使用可能です。コマンド実行時の標準出力をConsole logに出力します。",
|
|
67
|
+
description_en="Available only in GUI mode. Outputs standard output during command execution to Console log."),
|
|
68
68
|
dict(opt="capture_stdout", type=Options.T_BOOL, default=True, required=False, multi=False, hide=True, choice=[True, False],
|
|
69
|
-
|
|
70
|
-
|
|
69
|
+
description_ja="GUIモードでのみ使用可能です。コマンド実行時の標準出力をキャプチャーし、実行結果画面に表示します。",
|
|
70
|
+
description_en="Available only in GUI mode. Captures standard output during command execution and displays it on the execution result screen."),
|
|
71
71
|
dict(opt="capture_maxsize", type=Options.T_INT, default=self.DEFAULT_CAPTURE_MAXSIZE, required=False, multi=False, hide=True, choice=None,
|
|
72
|
-
|
|
73
|
-
|
|
72
|
+
description_ja="GUIモードでのみ使用可能です。コマンド実行時の標準出力の最大キャプチャーサイズを指定します。",
|
|
73
|
+
description_en="Available only in GUI mode. Specifies the maximum capture size of standard output when executing commands."),
|
|
74
74
|
]
|
|
75
75
|
)
|
|
76
76
|
|
|
@@ -34,45 +34,45 @@ class WebGroupAdd(feature.UnsupportEdgeFeature):
|
|
|
34
34
|
"""
|
|
35
35
|
return dict(
|
|
36
36
|
use_redis=self.USE_REDIS_MEIGHT, nouse_webmode=False,
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
description_ja="Webモードのグループを追加します。",
|
|
38
|
+
description_en="Add a group in Web mode.",
|
|
39
39
|
choice=[
|
|
40
40
|
dict(opt="host", type=Options.T_STR, default=self.default_host, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
description_ja="Redisサーバーのサービスホストを指定します。",
|
|
42
|
+
description_en="Specify the service host of the Redis server."),
|
|
43
43
|
dict(opt="port", type=Options.T_INT, default=self.default_port, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
description_ja="Redisサーバーのサービスポートを指定します。",
|
|
45
|
+
description_en="Specify the service port of the Redis server."),
|
|
46
46
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
description_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
48
|
+
description_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
49
49
|
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None, web="readonly",
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
description_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
51
|
+
description_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
52
52
|
dict(opt="data", type=Options.T_FILE, default=self.default_data, required=False, multi=False, hide=False, choice=None,
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
description_ja=f"省略した時は `$HONE/.{self.ver.__appid__}` を使用します。",
|
|
54
|
+
description_en=f"When omitted, `$HONE/.{self.ver.__appid__}` is used."),
|
|
55
55
|
dict(opt="group_id", type=Options.T_INT, default=None, required=True, multi=False, hide=False, choice=None,
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
description_ja="グループIDを指定します。他のグループと重複しないようにしてください。",
|
|
57
|
+
description_en="Specify the group ID. Do not duplicate other groups."),
|
|
58
58
|
dict(opt="group_name", type=Options.T_STR, default=None, required=True, multi=False, hide=False, choice=None,
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
description_ja="グループ名を指定します。他のグループと重複しないようにしてください。",
|
|
60
|
+
description_en="Specify a group name. Do not duplicate other groups."),
|
|
61
61
|
dict(opt="group_parent", type=Options.T_STR, default=None, required=False, multi=False, hide=False, choice=None,
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
description_ja="親グループ名を指定します。",
|
|
63
|
+
description_en="Specifies the parent group name."),
|
|
64
64
|
dict(opt="signin_file", type=Options.T_FILE, default=f".{self.ver.__appid__}/user_list.yml", required=True, multi=False, hide=False, choice=None,
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
description_ja="サインイン可能なユーザーとパスワードを記載したファイルを指定します。省略した時は認証を要求しません。",
|
|
66
|
+
description_en="Specify a file containing users and passwords with which they can signin. If omitted, no authentication is required."),
|
|
67
67
|
dict(opt="stdout_log", type=Options.T_BOOL, default=True, required=False, multi=False, hide=True, choice=[True, False],
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
description_ja="GUIモードでのみ使用可能です。コマンド実行時の標準出力をConsole logに出力します。",
|
|
69
|
+
description_en="Available only in GUI mode. Outputs standard output during command execution to Console log."),
|
|
70
70
|
dict(opt="capture_stdout", type=Options.T_BOOL, default=True, required=False, multi=False, hide=True, choice=[True, False],
|
|
71
|
-
|
|
72
|
-
|
|
71
|
+
description_ja="GUIモードでのみ使用可能です。コマンド実行時の標準出力をキャプチャーし、実行結果画面に表示します。",
|
|
72
|
+
description_en="Available only in GUI mode. Captures standard output during command execution and displays it on the execution result screen."),
|
|
73
73
|
dict(opt="capture_maxsize", type=Options.T_INT, default=self.DEFAULT_CAPTURE_MAXSIZE, required=False, multi=False, hide=True, choice=None,
|
|
74
|
-
|
|
75
|
-
|
|
74
|
+
description_ja="GUIモードでのみ使用可能です。コマンド実行時の標準出力の最大キャプチャーサイズを指定します。",
|
|
75
|
+
description_en="Available only in GUI mode. Specifies the maximum capture size of standard output when executing commands."),
|
|
76
76
|
]
|
|
77
77
|
)
|
|
78
78
|
|
|
@@ -34,39 +34,39 @@ class WebGroupDel(feature.UnsupportEdgeFeature):
|
|
|
34
34
|
"""
|
|
35
35
|
return dict(
|
|
36
36
|
use_redis=self.USE_REDIS_MEIGHT, nouse_webmode=False,
|
|
37
|
-
|
|
38
|
-
|
|
37
|
+
description_ja="Webモードのグループを削除します。",
|
|
38
|
+
description_en="Del a group in Web mode.",
|
|
39
39
|
choice=[
|
|
40
40
|
dict(opt="host", type=Options.T_STR, default=self.default_host, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
41
|
-
|
|
42
|
-
|
|
41
|
+
description_ja="Redisサーバーのサービスホストを指定します。",
|
|
42
|
+
description_en="Specify the service host of the Redis server."),
|
|
43
43
|
dict(opt="port", type=Options.T_INT, default=self.default_port, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
44
|
-
|
|
45
|
-
|
|
44
|
+
description_ja="Redisサーバーのサービスポートを指定します。",
|
|
45
|
+
description_en="Specify the service port of the Redis server."),
|
|
46
46
|
dict(opt="password", type=Options.T_STR, default=self.default_pass, required=True, multi=False, hide=True, choice=None, web="mask",
|
|
47
|
-
|
|
48
|
-
|
|
47
|
+
description_ja="Redisサーバーのアクセスパスワード(任意)を指定します。省略時は `password` を使用します。",
|
|
48
|
+
description_en="Specify the access password of the Redis server (optional). If omitted, `password` is used."),
|
|
49
49
|
dict(opt="svname", type=Options.T_STR, default=self.default_svname, required=True, multi=False, hide=True, choice=None, web="readonly",
|
|
50
|
-
|
|
51
|
-
|
|
50
|
+
description_ja="サーバーのサービス名を指定します。省略時は `server` を使用します。",
|
|
51
|
+
description_en="Specify the service name of the inference server. If omitted, `server` is used."),
|
|
52
52
|
dict(opt="data", type=Options.T_FILE, default=self.default_data, required=False, multi=False, hide=False, choice=None,
|
|
53
|
-
|
|
54
|
-
|
|
53
|
+
description_ja=f"省略した時は `$HONE/.{self.ver.__appid__}` を使用します。",
|
|
54
|
+
description_en=f"When omitted, `$HONE/.{self.ver.__appid__}` is used."),
|
|
55
55
|
dict(opt="group_id", type=Options.T_INT, default=None, required=True, multi=False, hide=False, choice=None,
|
|
56
|
-
|
|
57
|
-
|
|
56
|
+
description_ja="グループIDを指定します。",
|
|
57
|
+
description_en="Specify the group ID. Do not duplicate other groups."),
|
|
58
58
|
dict(opt="signin_file", type=Options.T_FILE, default=f".{self.ver.__appid__}/user_list.yml", required=True, multi=False, hide=False, choice=None,
|
|
59
|
-
|
|
60
|
-
|
|
59
|
+
description_ja="サインイン可能なユーザーとパスワードを記載したファイルを指定します。省略した時は認証を要求しません。",
|
|
60
|
+
description_en="Specify a file containing users and passwords with which they can signin. If omitted, no authentication is required."),
|
|
61
61
|
dict(opt="stdout_log", type=Options.T_BOOL, default=True, required=False, multi=False, hide=True, choice=[True, False],
|
|
62
|
-
|
|
63
|
-
|
|
62
|
+
description_ja="GUIモードでのみ使用可能です。コマンド実行時の標準出力をConsole logに出力します。",
|
|
63
|
+
description_en="Available only in GUI mode. Outputs standard output during command execution to Console log."),
|
|
64
64
|
dict(opt="capture_stdout", type=Options.T_BOOL, default=True, required=False, multi=False, hide=True, choice=[True, False],
|
|
65
|
-
|
|
66
|
-
|
|
65
|
+
description_ja="GUIモードでのみ使用可能です。コマンド実行時の標準出力をキャプチャーし、実行結果画面に表示します。",
|
|
66
|
+
description_en="Available only in GUI mode. Captures standard output during command execution and displays it on the execution result screen."),
|
|
67
67
|
dict(opt="capture_maxsize", type=Options.T_INT, default=self.DEFAULT_CAPTURE_MAXSIZE, required=False, multi=False, hide=True, choice=None,
|
|
68
|
-
|
|
69
|
-
|
|
68
|
+
description_ja="GUIモードでのみ使用可能です。コマンド実行時の標準出力の最大キャプチャーサイズを指定します。",
|
|
69
|
+
description_en="Available only in GUI mode. Specifies the maximum capture size of standard output when executing commands."),
|
|
70
70
|
]
|
|
71
71
|
)
|
|
72
72
|
|