vcs2l.commands.delete module

Command to delete directories of repositories listed in a YAML file.

class vcs2l.commands.delete.DeleteCommand(args)

Bases: Command

Delete directories of repositories listed in a YAML file.

command = 'delete'
help = 'Remove the directories indicated by the list of given repositories.'
vcs2l.commands.delete.get_parser()

CLI parser for the ‘delete’ command.

vcs2l.commands.delete.get_repository_paths(input_source, base_path)

Get repository paths from input source.

vcs2l.commands.delete.main(args=None, stdout=None, stderr=None)

Entry point for the ‘delete’ command.

vcs2l.commands.delete.validate_paths(paths)

Validate that paths exist and are directories.