userfs.commands package#

Submodules#

userfs.commands.all module#

A module aggregating package commands.

userfs.commands.all.commands() List[Tuple[str, str, Callable[[ArgumentParser], Callable[[Namespace], int]]]][source]#

Get this package’s commands.

userfs.commands.build module#

An entry-point for the ‘build’ command.

userfs.commands.build.add_build_cmd(parser: ArgumentParser) Callable[[Namespace], int][source]#

Add build-command arguments to its parser.

userfs.commands.build.build_cmd(args: Namespace) int[source]#

Execute the build command.

userfs.commands.common module#

Common argument-parsing utilities for package commands.

userfs.commands.common.add_common(parser: ArgumentParser, projects: bool = True) None[source]#

Add common command options.

userfs.commands.common.get_projects(args: Namespace, config: Config) Tuple[Set[str], Dict[str, Any]][source]#

Get a set of projects based on command-line arguments.

userfs.commands.common.run_command(interactions: Iterable[ProjectInteraction], args: Namespace) int[source]#

Run a project interaction command.

userfs.commands.custom module#

An entry-point for the ‘custom’ command.

userfs.commands.custom.add_custom_cmd(parser: ArgumentParser) Callable[[Namespace], int][source]#

Add custom-command arguments to its parser.

userfs.commands.custom.custom_cmd(args: Namespace) int[source]#

Execute the custom command.

userfs.commands.fetch module#

An entry-point for the ‘fetch’ command.

userfs.commands.fetch.add_fetch_cmd(parser: ArgumentParser) Callable[[Namespace], int][source]#

Add fetch-command arguments to its parser.

userfs.commands.fetch.fetch_cmd(args: Namespace) int[source]#

Execute the fetch command.

Module contents#