vcspull fmt - vcspull.cli.fmt
¶
Format vcspull configuration files.
- vcspull.cli.fmt.create_fmt_subparser(parser)[source]¶
Create
vcspull fmt
argument subparser.- Return type:
None
- Parameters:
parser (argparse.ArgumentParser)
- vcspull.cli.fmt.normalize_repo_config(repo_data)[source]¶
Normalize repository configuration to verbose format.
- vcspull.cli.fmt.format_single_config(config_file_path, write)[source]¶
Format a single vcspull configuration file.
- Return type:
- Parameters:
config_file_path (pathlib.Path) – Path to config file
write (bool) – Whether to write changes back to file
- Returns:
True if formatting was successful, False otherwise
- Return type: