Skip to content

Extract parser from main command.#74

Open
njohner wants to merge 1 commit intopachterlab:masterfrom
njohner:nj/split_argparse
Open

Extract parser from main command.#74
njohner wants to merge 1 commit intopachterlab:masterfrom
njohner:nj/split_argparse

Conversation

@njohner
Copy link
Copy Markdown

@njohner njohner commented Aug 13, 2024

This makes it easier to use ffq from python instead as from the command line, e.g.:

from ffq.main import parser, run_ffq
args = parser.parse_args(["SRP373424"])
study_data = run_ffq(args)

This makes it easier to use ffq from python instead as from the
command line.
@njohner njohner force-pushed the nj/split_argparse branch from 4b97878 to 6aeffc1 Compare August 13, 2024 07:42
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant