Git Product home page Git Product logo

habitica-cli's People

Contributors

charlespwd avatar danielruf avatar dependabot[bot] avatar zocker1999net avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

habitica-cli's Issues

clear command

similar to unix/gnu's clear behavior: just clear screen

Filter HTML tags of quest descriptions

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.

Version on npm not synchronious

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

Add support for arguments

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.

Implement day off window

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.

Error in terminal when running Habitica CLI

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.

Add sorting of tasks

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.

Add windows support

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 :)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.