A simple PowerShell module for managing your todo.txt file.
The goal of this project is to provide a version of the todo.txt CLI for Windows PowerShell. Sub-goals include:
Download and extract the files; open up PowerShell in that directory and run the 'deploy.ps1' script. This will build and deploy the module.
'deploy.ps1' takes some optional arguments:
Thanks go out to ArtWDrahn for making the deployment much more user-friendly.
After the deployment script runs, you'll need to restart PowerShell.
You can manually import the module using 'import-module todo', or you can add it your PowerShell profile so it's always available when you start PowerShell. Just add the following line to your profile.ps1 file:
Import-Module todo
You'll also want to set the location of your todo.txt and done.txt files. If you use Dropbox to keep them synced up, the lines you'll add to profile.ps1 look something like this:
Set-Variable -name TODO_FILE -value 'C:\Users\username\Dropbox\todo\todo.txt'
Set-Variable -name DONE_FILE -value 'C:\Users\username\Dropbox\todo\done.txt'
And you can alias the function 'ToDo' to 't' to save some typing, if you'd like:
Set-Alias -name t -value todo
Your profile.ps1 file is typically located in C:\Users\username\Documents\WindowsPowerShell
While the goal is interoperability with todo.txt files managed by other implementations, not all features of the sh version of the CLI have been implemented yet, and some features haven't been tested against todo.txt files created by other tools. So for the time being, use at your own risk.