nipoppy.cli

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

Submodules

Exceptions

NipoppyError

Base exception class for all nipoppy errors.

ZenodoAPIError

Common base class for all non-exit exceptions.

Classes

ReturnCode

Return codes used for the CLI commands.

Package Contents

nipoppy.cli.exception_handler(workflow)

Handle exceptions raised during workflow execution.

nipoppy.cli.get_logger(verbose=False)

Retrieve the logger.

Parameters:

verbose (bool)

Return type:

NipoppyLogger

nipoppy.cli.BUG_REPORT_URL = 'https://github.com/nipoppy/nipoppy/issues/new/choose?template=1-bug.yml'
nipoppy.cli.DISCORD_URL = 'https://discord.gg/2VMKFRpjkm'
nipoppy.cli.logger