Skip to content
This repository was archived by the owner on Apr 21, 2025. It is now read-only.

Feature Request: Run args and output without staying in the question shell #4

Closed
FruityWelsh opened this issue Aug 16, 2020 · 2 comments
Assignees
Milestone

Comments

@FruityWelsh
Copy link
Contributor

It would be nice to be able to use more like a cl tool where you could just type: codequestion "how do I iterate a list in python".

@davidmezzetti
Copy link
Member

Thank you for the idea.

One current way you can do this is by running:

python -m codequestion.query "how do I iterate a list in python"

@davidmezzetti
Copy link
Member

Closing this issue given that there is a way to call via the command line. A simple command line alias i.e. alias cqq='python -m codequestion.query' can be created to make it easier to call.

Issue #12 will add functionality to call a service vs loading the model each invocation. Currently, the shell exists to keep a preloaded instance active within a single process.

@davidmezzetti davidmezzetti self-assigned this Oct 3, 2022
@davidmezzetti davidmezzetti added this to the v1.1.0 milestone Oct 3, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants