Skip to content

CLI and entry points #339

Open
@brandynlucca

Description

@brandynlucca

It may be helpful to add a CLI with appropriate entry points so users can run a pre-defined workflow/recipe/etc. via command line, such as:

survey --config workflow.yaml

where entry points can be stored in, say, pyproject.toml or a more appropriate entry. Visually, this would map out to something like:

      User types in shell:
      ┌────────────────────────┐
      │  echopop --config x    │
      └────────┬───────────────┘
               │
               ▼
      Entry Point (from pyproject.toml)
      ┌─────────────────────────────────────┐
      │  echopop = cli.main:main            │
      └────────────────┬────────────────────┘
                       │
                       ▼
            CLI code (Python)
            ┌────────────────────────────┐
            │ def main():                │
            │     parse args             │
            │     run Survey()           │
            └────────────────────────────┘

Metadata

Metadata

Assignees

No one assigned

    Projects

    Status

    No status

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions