charlespwd / habitica-cli Goto Github PK
View Code? Open in Web Editor NEWAn immersive command line interface for Habitica :zap::fire:
An immersive command line interface for Habitica :zap::fire:
It would be nice to be able to casts spells similar to checking todos.
e.g. cast "Burst of Flames" TODO 1
Would you welcome a PR that added support for adding/updating tags on todo items?
similar to unix/gnu's clear
behavior: just clear screen
ERROR:root:Missing option in auth file '/.config/habitica/auth.cfg': No option 'url' in section: 'Habitica'
Quest descriptions sometimes contain HTML tags like <br>
for usage in web views. This app should filter this tags and also insert new lines in place of the break tags.
On this github project and on npm the same version, called 1.5.0, is released,
however the version on npm is not the same. npm claims that the version 1.5.0 were released two years ago, but the version 1.5.0 on GitHub was released three months ago. Please upload a new version on npm and try to synchronize both version numbers for further releases.
Link to npm: https://www.npmjs.com/package/habitica-cli
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.
After a day is gone the webpage shows you the dailes you may have missed to tick off, however opening your client does suppress this window and the opportunity to tick off dailes done. This can destroy streaks and even kill you (in Habitica).
I think about a menu right before you get the normal prompt showing the missed dailes where you then can select which of them you have done and then continue to the next day.
In connection to the feature of #6, by default the client should exit with an error code not doing what was requested until the dailes of the last day were tick off.
An additional command line parameter like -f
/--force
should enable the behavior this client has right now, ignoring this opportunity.
Terminal throws this error after entering habitica
into terminal:
habitica $ (node:35840) UnhandledPromiseRejectionWarning: TypeError: Cannot read property 'text' of undefined
at toQuestDetails (/usr/local/lib/node_modules/habitica-cli/lib/user.js:210:25)
at Object._callee3$ (/usr/local/lib/node_modules/habitica-cli/lib/user.js:75:34)
at tryCatch (/usr/local/lib/node_modules/habitica-cli/node_modules/regenerator-runtime/runtime.js:65:40)
at Generator.invoke [as _invoke] (/usr/local/lib/node_modules/habitica-cli/node_modules/regenerator-runtime/runtime.js:303:22)
at Generator.prototype.<computed> [as next] (/usr/local/lib/node_modules/habitica-cli/node_modules/regenerator-runtime/runtime.js:117:21)
at step (/usr/local/lib/node_modules/habitica-cli/lib/user.js:136:191)
at /usr/local/lib/node_modules/habitica-cli/lib/user.js:136:361
at runMicrotasks (<anonymous>)
at processTicksAndRejections (internal/process/task_queues.js:97:5)
(node:35840) UnhandledPromiseRejectionWarning: Unhandled promise rejection. This error originated either by throwing inside of an async function without a catch block, or by rejecting a promise which was not handled with .catch(). To terminate the node process on unhandled promise rejection, use the CLI flag `--unhandled-rejections=strict` (see https://nodejs.org/api/cli.html#cli_unhandled_rejections_mode). (rejection id: 1)
(node:35840) [DEP0018] DeprecationWarning: Unhandled promise rejections are deprecated. In the future, promise rejections that are not handled will terminate the Node.js process with a non-zero exit code.
After a Ctrl+C, program still appears to work, however.
I've been looking through your cli (which is totally awesome), and was wondering if you could add a sorting option. It's really difficult to sort tasks on the client, and this would make it much easier.
Currently the config file is set to be located in either $XDG_CONFIG_HOME/habitica/auth.cfg
or $HOME/.config/habitica/auth.cfg
.
Some people use windows but I have no idea where I should put the config files. Suggestions welcome :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.