Skip to main content

Module cli

Module cli 

Source

Modules§

auth
issue
pipeline
pr
repo
workspace

Structs§

Cli

Enums§

Commands

Functions§

parse_repo
Parse workspace/repo-slug, or a bare repo-slug resolved against –workspace / the configured default workspace.
resolve_create_target
Resolve repo create’s positional pair: an explicit second argument makes the first the workspace; otherwise the first is workspace/name or a bare name resolved like any repo argument.
resolve_workspace
Resolve a workspace given optionally on the command line, falling back to the --workspace override recorded by set_workspace_override and then to default_workspace from the config file (read from disk on each call).
set_workspace_override
Record the global --workspace override for this process.