actions¶
This module implements the pygitrepo Python development workflow
best practice logics.
- pygitrepo.actions.subcommand(name=None, help=None)[source]¶
A decorator that mark a function / class method a sub command for CLI.
- class pygitrepo.actions.Actions[source]¶
A class container that includes
pgrCLI interface logic. Each command method wrapped with asubcommand()decorator is a underlying logic forpgr ${subcommand}.Usually each function has a
**kwargsoptional keyword arguments. It can be used to store optional command line arguments.