Skip to content

Instantly share code, notes, and snippets.

@AlexanderWillner
Forked from avdgaag/things.sh
Last active September 15, 2023 07:29
Show Gist options
  • Star 41 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save AlexanderWillner/dad8bb7cead74eb7679b553e8c37f477 to your computer and use it in GitHub Desktop.
Save AlexanderWillner/dad8bb7cead74eb7679b553e8c37f477 to your computer and use it in GitHub Desktop.
Command-line read-only interface to your local Things database of to do items.
Moved to https://github.com/alexanderwillner/things.sh/
@kennonb
Copy link

kennonb commented Aug 13, 2017

This is great! 😄

I'm wondering if there's a way to have arguments attached to the csv export? I'm trying to re-create a task report for logging. Right now I've duped the csv function and limited it to just completed tasks (by using the stopDate) and then running a date function to restrict it to just the past 7 days date -v-7d +%Y-%m-%d.

What I'm wondering is if it'd be possible to have an argument to pass in a custom date rather than have it hard coded? Looks like it's something to do with how the ARGS are passed into the main function. I played with a few things, but haven't gotten very far, so figured I would just ask and see.

@AlexanderWillner
Copy link
Author

@kennonb Might be a good idea. I just cloned the gist to an own repository so this script can easily be extended. You might want to create an issue for this at https://github.com/AlexanderWillner/things.sh

@kennonb
Copy link

kennonb commented Aug 15, 2017

Awesome. Will do. :)

@fulldecent
Copy link

Get this on Homebrew, please.

@trst
Copy link

trst commented Nov 19, 2017

Is there anyway to export the notes in the CSV export?

@AlexanderWillner
Copy link
Author

@fulldecent Great idea. However, the GitHub repo might not have enough forks etc. to be accepted as brew Formular - Homebrew/homebrew-core#22093

@AlexanderWillner
Copy link
Author

@kennonb not yet an issue for this, is there?

@AlexanderWillner
Copy link
Author

@fulldecent you can now run brew install AlexanderWillner/tap/things.sh

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment