dalyIsaac / mstodo

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

mstodo

Releases Pushes and Pull Requests

mstodo is a CLI program for using Microsoft To Do.

Install

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.

Prerequisites

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.

Usage

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.

Development

To install dependencies:

go mod vendor

To run your cloned repo:

go run main.go

About

License:GNU General Public License v3.0


Languages

Language:Go 99.1%Language:Shell 0.9%