conda_project.cli package#

Submodules#

conda_project.cli.commands module#

conda_project.cli.commands.activate(args)[source]#
Return type:

bool

conda_project.cli.commands.add(args)[source]#
Return type:

bool

conda_project.cli.commands.check(args)[source]#
Return type:

bool

conda_project.cli.commands.clean(args)[source]#
Return type:

bool

conda_project.cli.commands.create(args)[source]#
Return type:

int

conda_project.cli.commands.handle_errors(func)[source]#

Wrap a subcommand function to catch exceptions and return an appropriate error code.

Return type:

Callable[[Namespace], int]

conda_project.cli.commands.init(args)[source]#
Return type:

bool

conda_project.cli.commands.install(args)[source]#
Return type:

bool

conda_project.cli.commands.lock(args)[source]#
Return type:

bool

conda_project.cli.commands.prepare(args)[source]#
Return type:

int

conda_project.cli.commands.remove(args)[source]#
Return type:

bool

conda_project.cli.commands.run(args)[source]#
Return type:

NoReturn

conda_project.cli.main module#

conda_project.cli.main.cli()[source]#

Construct the command-line argument parser.

Return type:

ArgumentParser

conda_project.cli.main.main()[source]#

Main entry-point into the conda-project command-line interface.

Return type:

int

conda_project.cli.main.parse_and_run(args=None)[source]#

Parse the command-line arguments and run the appropriate sub-command.

Parameters:

args (Optional[list[str]]) – Command-line arguments. Defaults to system arguments.

Return type:

int

Returns:

The return code to pass to the operating system.

Module contents#