gitlike-commands 0.3.0-1 source package in Ubuntu
Changelog
gitlike-commands (0.3.0-1) unstable; urgency=medium * New upstream release. * Update copyright year. -- Edward Betts <edward@4angle.com> Wed, 28 Feb 2024 09:00:49 +0000
Upload details
- Uploaded by:
- Debian Python Team
- Uploaded to:
- Sid
- Original maintainer:
- Debian Python Team
- Architectures:
- all
- Section:
- misc
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Oracular | release | universe | misc | |
Noble | release | universe | misc |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
gitlike-commands_0.3.0-1.dsc | 2.1 KiB | b70c3f88fde9b27d354c65cf5e86bb8230a1564e9076656aabc931985e168e7a |
gitlike-commands_0.3.0.orig.tar.gz | 8.9 KiB | 7e7bfd35538f40cede73ef720215f6f5e916348814704eebb15295e401d79cd3 |
gitlike-commands_0.3.0-1.debian.tar.xz | 2.1 KiB | 7aa25a052d13c5d9a3e9ed35f7ce38aab9219fa823e50f59a496c5e3577a64ef |
Available diffs
- diff from 0.2.1-2 to 0.3.0-1 (2.2 KiB)
No changes file available.
Binary packages built by this source
- python3-gitlike-commands: Python module for easily creating `git`-style subcommand handling
The subcommand_driver automatically figures out what name the script was
called as, then looks for subcommands and runs them if found, passing in any
command line options.
.
If you have a `foo` script in your `$PATH` as shown below
.
#!/usr/bin/env python3
from gitlike_commands import subcommand_driver
.
if __name__ == '__main__':
subcommand_ driver( )
.
Running `foo bar baz` will look for a `foo-bar-baz` script, and if present in
your $PATH, run it. If there is no `foo-bar-baz`, it will look for `foo-bar`,
and if it finds that, run `foo-bar baz`.
.
The subcommands can be written in any language, the only requirements are that
they are marked executable and follow the `foo-something` naming convention.