You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/aleph_client/commands/help_strings.py
+6Lines changed: 6 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -18,6 +18,8 @@
18
18
IMMUTABLE_VOLUME="""Immutable volumes are pinned on the network and can be used by multiple VMs at the same time. They are read-only and useful for setting up libraries or other dependencies.\n
19
19
Requires at least "name", "ref" (message hash) and "mount" path. "use_latest" is True by default, to use the latest version of the volume, if it has been amended. See the docs for more info: https://docs.aleph.im/computing/volumes/immutable/\n
SKIP_ENV_VAR="Skip prompt to set environment variables"
22
+
ENVIRONMENT_VARIABLES="""Environment variables to pass. They will be public and visible in the message, so don't include secrets. Must be a comma separated list. Example: `KEY=value` or `KEY=value,KEY=value`"""
21
23
ASK_FOR_CONFIRMATION="Prompt user for confirmation"
22
24
IPFS_CATCH_ALL_PATH="Choose a relative path to catch all unmatched route or a 404 error"
23
25
PAYMENT_TYPE="Payment method, either holding tokens, NFTs, or Pay-As-You-Go via token streaming"
@@ -58,3 +60,7 @@
58
60
CREATE_ACTIVE="Loads the new private key after creation"
59
61
PROMPT_CRN_URL="URL of the CRN (Compute node) on which the instance is running"
60
62
PROMPT_PROGRAM_CRN_URL="URL of the CRN (Compute node) on which the program is running"
63
+
PROGRAM_PATH="Path to your source code. Can be a directory, a .squashfs file or a .zip archive"
64
+
PROGRAM_ENTRYPOINT="Your program entrypoint. Example: `main:app` for Python programs, else `run.sh` for a script containing your launch command"
65
+
PROGRAM_RUNTIME="Hash of the runtime to use for your program. You can also create your own runtime and pin it. Currently defaults to `{runtime_id}` (Use `aleph program runtime-checker` to inspect it)"
66
+
PROGRAM_BETA="If true, you will be prompted to add message subscriptions to your program"
help="If vm is not called after [timeout_seconds] it will shutdown",
63
+
help=help_strings.TIMEOUT_SECONDS,
65
64
),
66
65
name: Optional[str] =typer.Option(None, help="Name for your program"),
67
66
runtime: str=typer.Option(
68
67
None,
69
-
help=f"Hash of the runtime to use for your program. You can also create your own runtime and pin it. Currently defaults to `{settings.DEFAULT_RUNTIME_ID}`",
0 commit comments