tasktiger icon indicating copy to clipboard operation
tasktiger copied to clipboard

Add CLI commands

Open jkemp101 opened this issue 5 years ago • 3 comments

Some initial work was explored in https://github.com/closeio/tasktiger/pull/48 to allow inspecting/dumping queues from the command line. Administrators could benefit from a CLI that allowed manipulating queues and tasks.

jkemp101 avatar Dec 23 '20 18:12 jkemp101

@jkemp101 is there a feature spec or a rough list of commands available for this?

#48 had the following, but the branch was deleted. are you able to restore it?

  • Print queue statistics
  • Dump all tasks to /tmp/tasks.db file and clear queue:
  • Dump all tasks in queue and do not save them to sqlite3 database
  • Dump a batch of tasks to /tmp/tasks.db but leave them on queue
  • Count number of tasks dumped to sqlite3 database
  • View dump info in db file

tinvaan avatar Dec 02 '22 13:12 tinvaan

We haven't really had a big need for this and therefore haven't given too much thought about moving forward with adding a CLI. Is this something you have a need for?

jkemp101 avatar Dec 02 '22 18:12 jkemp101

Honestly I'm not going to use it as much either, but I'm happy to help with triaging/fixing if needed. However, if there isn't a real need for anyone, probably best to close this issue for now.

tinvaan avatar Dec 02 '22 18:12 tinvaan