rcmpy.commands package#
Submodules#
rcmpy.commands.all module#
A module aggregating package commands.
rcmpy.commands.apply module#
An entry-point for the ‘apply’ command.
- rcmpy.commands.apply.add_apply_cmd(parser: ArgumentParser) Callable[[Namespace], int] [source]#
Add apply-command arguments to its parser.
- rcmpy.commands.apply.apply_env(args: Namespace, env: Environment) int [source]#
Apply pending changes from the environment.
rcmpy.commands.common module#
A module for common argument-parsing methods.
- rcmpy.commands.common.add_default_flag(parser: ArgumentParser) None [source]#
Adds a default-flag argument.
- rcmpy.commands.common.run_env_command(args: Namespace, cmd: Callable[[Namespace, Environment], int]) int [source]#
Run a command with the environment instance loaded.
rcmpy.commands.dump module#
An entry-point for the ‘dump’ command.
- rcmpy.commands.dump.add_dump_cmd(_: ArgumentParser) Callable[[Namespace], int] [source]#
Add dump-command arguments to its parser.
- rcmpy.commands.dump.dump_env(_: Namespace, env: Environment) int [source]#
Dump information about the environment.
rcmpy.commands.use module#
An entry-point for the ‘use’ command.
rcmpy.commands.variant module#
An entry-point for the ‘variant’ command.
rcmpy.commands.watch module#
An entry-point for the ‘watch’ command.