vcspull status - vcspull.cli.status¶
Repository status checking functionality for vcspull.
-
class vcspull.cli.status.StatusCheckConfig¶class vcspull.cli.status.StatusCheckConfig¶
Bases:
objectConfiguration options for status checking.
-
vcspull.cli.status._visible_length(text)¶vcspull.cli.status._visible_length(text)¶
Return the printable length of string stripped of ANSI codes.
-
class vcspull.cli.status.StatusProgressPrinter¶class vcspull.cli.status.StatusProgressPrinter¶
Bases:
objectRender incremental status check progress for TTY output.
-
vcspull.cli.status.create_status_subparser(parser)¶vcspull.cli.status.create_status_subparser(parser)¶
Create
vcspull statusargument subparser.- Parameters:
parser (
argparse.ArgumentParser) – The parser to configure- Return type:
-
async vcspull.cli.status._check_repos_status_async(repos, *, config, progress)¶async vcspull.cli.status._check_repos_status_async(repos, *, config, progress)¶
Check repository status concurrently using asyncio.
- Parameters:
repos (
list[ConfigDict]) – List of repository configurations to checkconfig (
StatusCheckConfig) – Configuration for status checkingprogress (
StatusProgressPrinter|None) – Optional progress printer for live updates
- Returns:
List of status dictionaries in completion order
- Return type:
-
vcspull.cli.status._run_git_command(repo_path, *args)¶vcspull.cli.status._run_git_command(repo_path, *args)¶
Execute a git command and return the completed process.
- Parameters:
- Return type:
-
vcspull.cli.status.check_repo_status(repo, detailed=False)¶vcspull.cli.status.check_repo_status(repo, detailed=False)¶
Check the status of a single repository.
- Parameters:
repo (
ConfigDict) – Repository configurationdetailed (
bool) – Whether to include detailed status information
- Returns:
Repository status information
- Return type:
-
vcspull.cli.status.status_repos(repo_patterns, config_path, workspace_root, detailed, output_json, output_ndjson, color, concurrent=True, max_concurrent=None)¶vcspull.cli.status.status_repos(repo_patterns, config_path, workspace_root, detailed, output_json, output_ndjson, color, concurrent=True, max_concurrent=None)¶
Check status of configured repositories.
- Parameters:
repo_patterns (
list[str]) – Patterns to filter repositories (fnmatch)config_path (
pathlib.Path|None) – Path to config file, or None to auto-discoverdetailed (
bool) – Show detailed status informationoutput_json (
bool) – Output as JSONoutput_ndjson (
bool) – Output as NDJSONcolor (
str) – Color mode (auto, always, never)concurrent (
bool) – Whether to check repositories concurrently (default: True)max_concurrent (
int|None) – Maximum concurrent status checks (default: based on CPU count)
- Return type: