Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract parser from main command. #74

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

njohner
Copy link

@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