mstodo
is a CLI program for using Microsoft To Do.
Download the latest release from the Releases page:
Alternatively, for Linux/macOS:
curl -sL https://github.com/dalyIsaac/mstodo/main/scripts/install.sh | VERSION=v1.0.0 bash # Replace `v1.0.0` with the version you want
Add the folder containing mstodo
or mstodo.exe
to the PATH
.
You need to create a folder in $HOME
, with a file .mstodo/config.yaml
.mstodo
└── config.yaml
Populate config.yaml
with:
client-id: the-copied-application-client-id
client-secret: the-copied-value
port: 12345 # The port you want mstodo to run on
auth-timeout: 120 # How long you want to wait until authentication times out
To obtain the client-id
and client-secret
, see docs/api_key.md.
To see available commands, type mstodo help
Usage:
mstodo [command]
Available Commands:
add Add a task
help Help about any command
lists Get a list of the task lists
version mstodo version
view View a specific list
Flags:
--auth-timeout string seconds to wait before giving up on authentication and exiting
--config-dir string config directory (default "/home/dalyisaac/.mstodo")
-h, --help help for mstodo
--port string port for mstodo
-t, --table-style string the style for the table (default "Rounded")
Use "mstodo [command] --help" for more information about a command.
To install dependencies:
go mod vendor
To run your cloned repo:
go run main.go