cwl_utils.expression_refactor
=============================

.. py:module:: cwl_utils.expression_refactor

.. autoapi-nested-parse::

   CWL Expression refactoring tool for CWL.



Attributes
----------

.. autoapisummary::

   cwl_utils.expression_refactor.defaultStreamHandler
   cwl_utils.expression_refactor.save_type


Classes
-------

.. autoapisummary::

   cwl_utils.expression_refactor.saveCWL


Functions
---------

.. autoapisummary::

   cwl_utils.expression_refactor.arg_parser
   cwl_utils.expression_refactor.parse_args
   cwl_utils.expression_refactor.main
   cwl_utils.expression_refactor.run
   cwl_utils.expression_refactor.refactor


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

.. py:data:: defaultStreamHandler

.. py:data:: save_type

.. py:class:: saveCWL

   Bases: :py:obj:`Protocol`

   .. autoapi-inheritance-diagram:: cwl_utils.expression_refactor.saveCWL
      :parts: 1


   Shortcut type for CWL v1.x parse.save().


   .. py:method:: __call__(val, top = True, base_url = '', relative_uris = True)

      Must use this instead of a Callable due to the keyword args.



.. py:function:: arg_parser()

   Build the argument parser.


.. py:function:: parse_args(args)

   Parse the command line options.


.. py:function:: main()

   Console entry point.


.. py:function:: run(args)

   Collect the arguments and run.


.. py:function:: refactor(args)

   Primary processing loop.


