Commands - libvcs.cmd¶

Compare to: fabtools.git, salt.modules.git, ansible.builtin.git

Warning

All APIs are considered experimental and subject to break pre-1.0. They can and will break between versions.

Overview¶

The libvcs.cmd module provides Python wrappers for VCS command-line tools:

When to use cmd vs sync¶

Module

Use Case

libvcs.cmd

Fine-grained control over individual VCS commands

libvcs.sync

High-level repository cloning and updating

Modules¶

Git

Full git CLI wrapper with sub-command managers (branch, remote, stash, …).

libvcs.cmd.git
Mercurial

Mercurial CLI wrapper.

libvcs.cmd.hg
Subversion

Subversion CLI wrapper.

libvcs.cmd.svn