nipoppy.cli

Define a custom Click group that supports command aliases and preserves order.

Submodules

Classes

OrderedAliasedGroup

Group that lists commands in the order they were added and supports aliases.

ReturnCode

Return codes used for the CLI commands.

Package Contents

nipoppy.cli.get_logger(name='nipoppy', verbose=False)

Create/get a logger with rich formatting.

Parameters:
  • name (Optional[str])

  • verbose (bool)

Return type:

logging.Logger

nipoppy.cli.handle_exception(workflow)

Handle exceptions raised during workflow execution.

nipoppy.cli.PROGRAM_NAME = 'nipoppy'
nipoppy.cli.logger