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

Add subcommand to CLI #181

Closed
max-sixty opened this issue Mar 13, 2022 · 0 comments
Closed

Add subcommand to CLI #181

max-sixty opened this issue Mar 13, 2022 · 0 comments
Milestone

Comments

@max-sixty
Copy link
Member

Currently the prql binary has no subcommands — it always writes SQL (or AST depending on the arguments). This limits us from doing other things in the future, like querying a DB, or opening a console like PyPrql does.

Let's add a subcommand like write-sql, even if it's initially the only one at first. (Open to other names, though having all subcommands be verbs is nice for consistency).

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

No branches or pull requests

1 participant