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
API - Call from bash script #67
Comments
Yes - BTW, you've got some wrapped version of Words, right? What's it called again? |
Yes I do - it's sapiensoptio.com - and the intention is to move it to this script. |
What I did was just provide the argument when I called it. The welcome menu does not show up when providing arguments. I made a prayer memorizing program years ago in python and that mechanism worked fine. I actually parsed the argument list and did a single word at a time for example: words pater If the user selected more than one word for grammar. Here is a link to the python code if you are interested.
''' + myOutput).strip('\n'))
|
btw I had just started learning to program back then and am naturally embarrassed by the code specifically checking for the os on every loop through was wasteful. The program worked/works well enough though. The output was the full grammar. |
Is there a simple way to call whitakers-words from a bash script, with parameters passed, and have only the output returned, instead of the welcome menu returned etc.
The text was updated successfully, but these errors were encountered: