Skip to content

Generalize argparsing #94

@PicoCentauri

Description

@PicoCentauri

Our approach of parsing the analysis classes and building an argparse object based on the docstring works good for arbitrary parameters. However, currently it is deeply buried and tightly bound to this library.

I often have the same problem that I have a certain function and I want to build a simple command line interface from it. Currently, this involves a lot of copy and pasting. Here, we have everything in place and one just has to generalize everything a bit. There already exists a nice reference implementation which is not as general as what we did here.

If anybody wants to tackle this I already started a little branch which is not working at all but maybe allows for a little headstart.

Metadata

Metadata

Assignees

No one assigned

    Labels

    good first issueGood for newcomershelp wantedExtra attention is neededrefactorRefactors - urgent and not urgent

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions