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 support for arguments #6

Closed
Zocker1999NET opened this issue Oct 2, 2019 · 2 comments · Fixed by #13
Closed

Add support for arguments #6

Zocker1999NET opened this issue Oct 2, 2019 · 2 comments · Fixed by #13

Comments

@Zocker1999NET
Copy link
Contributor

If I want to mark a single daily task complete, I need to open the client using habitica and then enter dc 9 (for example), but it would be faster to just input habitca dc 9 in the shell. This would also enable to use this app instead of the API.

@Zocker1999NET
Copy link
Contributor Author

I am currently working on this feature and it should be finished soon

@Zocker1999NET
Copy link
Contributor Author

I tried to manage an acceptable solution, but it is still quite hacky. The issue dthree/vorpal#171 references my request in vorpal and it seems there is no official solution which fits for this project as they do not support prompts while a command is executed. My implementation uses an empty string as delimiter which adds two empty lines to the beginning and ending of the output but enables the usage of prompts inside of commands (e.g. habitica todos add).

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 a pull request may close this issue.

1 participant