Git Product home page Git Product logo

cliist's People

Contributors

ddksr avatar dtrudg avatar eqt avatar georgebashi 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  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  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  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

cliist's Issues

Color remains after exiting

when you use the -p project command the cli prompt remains in the same color that it was used for the last output

cliist doesn't show id

When I run cliist, tasks are shown fine but the task-id is not shown. Thus I cannot complete tasks without running cliist.py --format=org

Bug or feature?

editing task title prompts user to send due date

Hi thanks for the great work! This is an awesome tool.

I created an inbox task and then edited it.

td -e 164450003 'some new text'

The CLI responds with 'No due date'

I then add a due date

td -e 164450003 'some new text' -d 'today'

..and it works

Add support for input from STDIN

A feature request I may well just do myself.

Accept input from STDIN a list of tasks, delimitated by a newline. cliist then adds each one as a new task.

This would allow me to add a whole list of tasks at the start of the day in the comfort of my editor, a little like Taskpaper allows.

Error connecting to Todoist API

Hello,

Config:
OSX 10.11
premium todoist account
I used the API token in the todoist settings

When I try to execute ./cliist.py, I have the following message:

Traceback (most recent call last):
  File "/Users/sam/Dropbox/Workflow/Tech/cliist/lib/api.py", line 21, in api_call
    req = urllib.request.urlopen(url)
  File "/usr/local/Cellar/python3/3.5.2_1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 163, in urlopen
    return opener.open(url, data, timeout)
  File "/usr/local/Cellar/python3/3.5.2_1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 472, in open
    response = meth(req, response)
  File "/usr/local/Cellar/python3/3.5.2_1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 582, in http_response
    'http', request, response, code, msg, hdrs)
  File "/usr/local/Cellar/python3/3.5.2_1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 510, in error
    return self._call_chain(*args)
  File "/usr/local/Cellar/python3/3.5.2_1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 444, in _call_chain
    result = func(*args)
  File "/usr/local/Cellar/python3/3.5.2_1/Frameworks/Python.framework/Versions/3.5/lib/python3.5/urllib/request.py", line 590, in http_error_default
    raise HTTPError(req.full_url, code, msg, hdrs, fp)
urllib.error.HTTPError: HTTP Error 410: Gone

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
  File "/Users/sam/Dropbox/Workflow/Tech/cliist/cliist.py", line 5, in <module>
    from lib import process, output, cache
  File "/Users/sam/Dropbox/Workflow/Tech/cliist/lib/process.py", line 3, in <module>
    from lib import todoist, output
  File "/Users/sam/Dropbox/Workflow/Tech/cliist/lib/todoist.py", line 4, in <module>
    from . import models, output
  File "/Users/sam/Dropbox/Workflow/Tech/cliist/lib/models.py", line 188, in <module>
    projects_dict = ProjectDict()
  File "/Users/sam/Dropbox/Workflow/Tech/cliist/lib/models.py", line 185, in __init__
    for project in api.api_call('getProjects'):
  File "/Users/sam/Dropbox/Workflow/Tech/cliist/lib/api.py", line 25, in api_call
    raise CliistException('Error connecting to Todoist API')
lib.utils.CliistException: Error connecting to Todoist API

What should I do? Where is my mistake?

Thanks,

Completing reoccuring tasks

Hello Žiga,

Thank you very much for this client. I noticed that once a reoccurring task is marked as completed via cliist, the task in its entirety is completed. This happens even if the task should be "recreated" with a new due date (weekly or daily tasks for example).

Is there any method of completing a reoccurring task without simply updating the due date or completing the entire task?

Thank you for your time,
gnu-nix

# being interpreted as comment and excluded

Just a note that the #Proj seems to be interpreted as a comment when adding tasks, so it reads the #, and then excludes everything after it.

This doesn't work:
dtl@XPM1:~/cliist/cliist$ ./cliist.py -a #TEST 'testing task 10' @weekend
Task has no content!

However escaping with a \ works:
dtl@XPM1:~/cliist/cliist$ ./cliist.py -a \#TEST 'testing task 11' @weekend

Uninstall to Install Again

Hi ddksr,

When I installed I introduced the wrong api token.

I need to uninstall in order to install again.

How can I install???

Thank you for your support,

Jaime

Listing tasks due before a certain date

I'm trying to use the --lt or --lte option, but I can't figure out how to input in the date I want to use. Every time the output only lists things that are "overdue or today" (as if I didn't use the option).

Add support for project hierarchy

Todoist allows project nesting beside task nesting in hierarchies. It would be nice if cliist could list contents of a project and optionally it's child projects' tasks.
I noticed no visual hierarchy of projects if -A/--all argument is specified.

Anyway, great tool!

Proposition: Set due date basing on task content

This feature would be VERY helpful. I mean, when I type some "hot" words which means date or/and time, it will be used as due date. For example, some tasks:

  • "Buy something today"
  • "Implement authentication to project tomorrow"
  • "At 7:40 PM, remember about run unit tests"

If we have for example 1 June 2016, the results will be:

  • "Buy something today - 1 June 2016"
  • "Implement authentication to project tomorrow - 2 June 2016"
  • "At 7:40 PM, remember about run unit tests - 1 June 2016, 7:40 PM"

I know that Todoist's mobile apps has support it, maybe it would not be many hard to implement?

And yes, I think hot words shouldn't be restricted only to English.

401 Unauthorized - How do I get an API key?

Hi there,

Thanks very much for the client.

I generated a test token from the developer interface after creating an application and it doesn't appear to be working.

Is this the correct procedure for setting this stuff up? Is there somewhere else I am supposed to be obtaining this from?

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.