Skip to main content

Module launcher

Module launcher 

Source
Expand description

Routes tempo <extension> to the right binary, handles auto-install of missing extensions, and provides built-in commands (add/update/remove).

Structsยง

Cli ๐Ÿ”’
Extension manager for the Tempo CLI.
Launcher ๐Ÿ”’
Internal dispatcher that holds the directory of the running tempo binary and implements all built-in and extension subcommands.
ManagementArgs ๐Ÿ”’
RemoveArgs ๐Ÿ”’
UpdateArgs ๐Ÿ”’

Enumsยง

Commands ๐Ÿ”’
LauncherError

Constantsยง

BASE_URL ๐Ÿ”’
PUBLIC_KEY ๐Ÿ”’

Functionsยง

base_url ๐Ÿ”’
Returns the base URL for extension manifests (TEMPO_EXT_BASE_URL or the default).
is_valid_extension_name ๐Ÿ”’
Validates an extension name: non-empty, ASCII alphanumeric plus - and _.
manifest_url ๐Ÿ”’
Builds the manifest URL for an extension, optionally pinned to a version.
print_missing_install_hint ๐Ÿ”’
Prints a user-facing hint when an unknown subcommand has no matching extension.
release_public_key ๐Ÿ”’
run
Parses arguments and dispatches to built-in commands (add/update/remove/list) or extension subcommands. This is the entry point for the tempo CLI.
run_child ๐Ÿ”’
Executes the extension binary with the given arguments and returns the exit code.
run_tempoup ๐Ÿ”’
Runs tempoup to update the tempo binary itself.