Standalone API Reference¶
Koji Smoky Dingo - Standalone
This package contains adaptive mechanisms for converting a SmokyDingo command into a stand-alone console_script entry point.
- author:
Christopher O'Brien <obriencj@gmail.com>
- licence:
GPL v3
- class AnonLonelyDingo(name=None)[source]¶
Bases:
LonelyDingo
An adaptive layer to assist in converting an AnonSmokyDingo instance into a callable suitable for use as a console_scripts entry point.
- Parameters:
name (str) -- The name that this command is being represented as
- class LonelyDingo(name=None)[source]¶
Bases:
SmokyDingo
An adaptive layer to assist in converting a SmokyDingo instance into a callable suitable for use as a console_scripts entry point.
- Parameters:
name (str) -- The name that this command is being represented as
- default_profile: str = None¶
when set this becomes the default value for the
--profile=
argument added to argument parser
- parser()[source]¶
Creates a new ArgumentParser instance and decorates it with arguments from the
arguments
method.
- profile_arguments(parser)[source]¶
- Parameters:
parser (ArgumentParser)
- Return type: