Balík: python3-gitlike-commands (0.3.0-1)
Odkazy pre python3-gitlike-commands
Zdroje Debian:
Stiahnuť zdrojový balík gitlike-commands:
- [gitlike-commands_0.3.0-1.dsc]
- [gitlike-commands_0.3.0.orig.tar.gz]
- [gitlike-commands_0.3.0-1.debian.tar.xz]
Správcovia:
Externé zdroje:
- Domovská stránka [github.com]
Podobné balíky:
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.
Ostatné balíky súvisiace s balíkom python3-gitlike-commands
|
|
|
|
-
- dep: python3
- interactive high-level object-oriented language (default python3 version)
Stiahnuť python3-gitlike-commands
Architektúra | Veľkosť balíka | Nainštalovaná veľkosť | Súbory |
---|---|---|---|
all | 5.2 kB | 27.0 kB | [zoznam súborov] |