anod.sandbox.main¶
Attributes¶
Functions¶
|
Manipulate an Anod sandbox. |
Module Contents¶
- anod.sandbox.main.logger¶
- anod.sandbox.main.main(get_argument_parser: Literal[True]) argparse.ArgumentParser¶
- anod.sandbox.main.main(get_argument_parser: Literal[False] = False) None
Manipulate an Anod sandbox.
This function creates the main code for the entry-point e3-sandbox. To create new actions it is possible to create new sandbox plugins. e.g. to add a new plugin
foofrom a packagee3-contrib, derives the class py:class:SandBoxAction and register the extension by adding in py:file:e3-contrib/setup.py:entry_points={ 'e3.anod.sandbox.sandbox_action': [ 'foo = e3_contrib.sandbox_actions.SandBoxFoo'] }
- Parameters:
get_argument_parser – return e3.main.Main argument_parser instead of running the action.