parade.command package

Submodules

parade.command.convert module

parade.command.init module

class parade.command.init.InitCommand

Bases: parade.command.ParadeCommand

The init command will create a workspace with template. The workspace will hold all user’s work (tasks and flows) and customized configurations.

config_parser(parser)

Populate option parse with options available for this command

requires_workspace = False
run_internal(context, **kwargs)

Internal running logic, to be implemented :param context: the context to use :return:

short_desc()

A short description of the command

templates_dir

parade.command.notebook module

parade.command.server module

Module contents

class parade.command.ParadeCommand

Bases: object

The base class to implement a sub-command in parade command line entry point

aliases
config = None
config_parser(parser)

Populate option parse with options available for this command

help()

An extensive help for the command. It will be shown when using the “help” command. It can contain newlines, since not post-formatting will be applied to its contents.

long_desc()

A long description of the command. Return short description when not available. It cannot contain newlines, since contents will be formatted by optparser which removes newlines and wraps text.

requires_workspace = False
run(context, **kwargs)

Entry point for running commands

run_internal(context, **kwargs)

Internal running logic, to be implemented :param context: the context to use :return:

short_desc()

A short description of the command

workspace_name = None
workspace_path = None