anod.sandbox.main
=================

.. py:module:: anod.sandbox.main


Attributes
----------

.. autoapisummary::

   anod.sandbox.main.logger


Functions
---------

.. autoapisummary::

   anod.sandbox.main.main


Module Contents
---------------

.. py:data:: logger

.. py:function:: main(get_argument_parser: Literal[True]) -> argparse.ArgumentParser
                 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 ``foo`` from a package ``e3-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']
       }

   :param get_argument_parser: return e3.main.Main argument_parser instead
       of running the action.


