vcspull list - vcspull.cli.list

List repositories functionality for vcspull.

vcspull.cli.list.create_list_subparser(parser)[source]

Create vcspull list argument subparser.

Return type:

None

Parameters:

parser (argparse.ArgumentParser) – The parser to configure

vcspull.cli.list.list_repos(repo_patterns, config_path, workspace_root, tree, output_json, output_ndjson, color)[source]

List configured repositories.

Return type:

None

Parameters:
  • repo_patterns (list[str]) – Patterns to filter repositories (fnmatch)

  • config_path (pathlib.Path | None) – Path to config file, or None to auto-discover

  • workspace_root (str | None) – Filter by workspace root

  • tree (bool) – Group by workspace root in tree view

  • output_json (bool) – Output as JSON

  • output_ndjson (bool) – Output as NDJSON

  • color (str) – Color mode (auto, always, never)

vcspull.cli.list._output_flat(repos, formatter, colors)[source]

Output repositories in flat list format.

Return type:

None

Parameters:
  • repos (list[ConfigDict]) – Repositories to display

  • formatter (OutputFormatter) – Output formatter

  • colors (Colors) – Color manager

vcspull.cli.list._output_tree(repos, formatter, colors)[source]

Output repositories grouped by workspace root (tree view).

Return type:

None

Parameters:
  • repos (list[ConfigDict]) – Repositories to display

  • formatter (OutputFormatter) – Output formatter

  • colors (Colors) – Color manager