Skip to main content

Module cli

Module cli 

Source
Expand description

Shared CLI bootstrap utilities.

Structsยง

CliApp
Shared CLI context holding the workspace root and quiet-mode flag.
ProcessWorkspaceEnvironment ๐Ÿ”’

Traitsยง

WorkspaceEnvironment ๐Ÿ”’

Functionsยง

boot
Bootstrap a CLI tool: print the banner (unless quiet) and resolve the workspace root.
entry_exists ๐Ÿ”’
is_directory ๐Ÿ”’
workspace_root
Find the workspace root by checking an explicit env var, CARGO_MANIFEST_DIR, then walking up from cwd.
workspace_root_with ๐Ÿ”’