(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.
:::
The libvcs.cmd module provides Python wrappers for VCS command-line tools:
- {mod}
libvcs.cmd.git- Git commands with Managers for intuitive entity traversal and Commands for targeted execution - {mod}
libvcs.cmd.hg- Mercurial commands - {mod}
libvcs.cmd.svn- Subversion commands
Async equivalents are available in libvcs.cmd._async:
- {class}
~libvcs.cmd._async.git.AsyncGit- Async git commands - {class}
~libvcs.cmd._async.hg.AsyncHg- Async mercurial commands - {class}
~libvcs.cmd._async.svn.AsyncSvn- Async subversion commands
See {doc}/topics/asyncio for usage patterns.
| Module | Use Case |
|---|---|
libvcs.cmd |
Fine-grained control over individual VCS commands |
libvcs.sync |
High-level repository cloning and updating |
:caption: API
git/index
hg
svn