lucassabreu / clockify-cli

A simple cli to manage your time entries on Clockify from terminal
https://clockify-cli.netlify.app/
Apache License 2.0
167 stars 24 forks source link

clockify-cli task add #237

Closed Mjvolk3 closed 1 year ago

Mjvolk3 commented 1 year ago

Would it be possible to add a command for task add that is similar to task done? For instanceclockify-cli task -p project_name add task_name which would follow the pattern clockify-cli task -p project_name done task_name. My guess is that this isn't done because task add can be modified with some flags, but this would be nice to quickly bulk add tasks if those flags are not needed. Then like done you could add a list of tasks to a project.

lucassabreu commented 1 year ago

this could be made into a quick-add command that asks from the project as a flag (like the others) and the args are the names of the tasks you wanna create.

it won't support the other options, but if you don't need assignee, billable or a estimation of time to differ from the project, it may be useful.

a quick-add would help you?

Mjvolk3 commented 1 year ago

Yes I would use this often. Would it be possible for the current add to default to quick-add if there isn't a -n ?

lucassabreu commented 1 year ago

this would make the code unnecessarily complicated i think, but i will work on a quick-add soon

lucassabreu commented 1 year ago

hi @Mjvolk3 , task quick-add is one version v0.44.0 can you try it?

Mjvolk3 commented 1 year ago

@lucassabreu This works perfectly for me.