https://github.com/bgianfo/todr
Todoist command line client, written in rust.
https://github.com/bgianfo/todr
rust todo todoist todoist-api
Last synced: 5 months ago
JSON representation
Todoist command line client, written in rust.
- Host: GitHub
- URL: https://github.com/bgianfo/todr
- Owner: bgianfo
- License: mit
- Created: 2017-04-03T00:48:53.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2023-09-14T13:44:45.000Z (over 1 year ago)
- Last Synced: 2024-11-30T14:55:40.188Z (5 months ago)
- Topics: rust, todo, todoist, todoist-api
- Language: Rust
- Homepage:
- Size: 257 KB
- Stars: 4
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
todr
----
`todr` is a command line tool which allows you to interact with your todoist
account from your terminal.Note: This tool is not created by, affiliated with, or supported by Doist.
[](https://travis-ci.org/bgianfo/todr)
[]()
[](https://dependabot.com)### Building/Installation
`todr` is written in Rust, so you'll need to grab a
[Rust installation](https://www.rust-lang.org/) in order to compile it.
Building is easy:```
$ git clone https://github.com/bgianfo/todr
$ cd todr
$ cargo build --release
$ ./target/release/todr
```Eventually I'd like to create a crate.
### Configuration
To configure todr you simply need to export your todoist authentication token as an environment variable.
1. First, log into [todoist.com](http://todoist.com).
2. Under the gear icon at the upper right, select "Todoist Settings".
3. Select the "Account" tab.
4. Copy the value next to "API token".In your shell (or place in your .profile/.bashrc)
```
export TODR_AUTHTOKEN=''
```Now you can run todr:
```
$ ./target/release/todr
>> helpCommands:
h | help - This help message
i | items - List all active todo items.
p | proj - List all active projects.
q | quit - Exit the application.
>> i
Andy's Wedding Prep ()
Buy Tickets for Andy's Wedding (Apr 1)
Book hotel for andy's wedding (Apr 1)
Update Wiki Documentation ()
Update Testing Documentation ()
Add page for combinatorial testing. ()
>>
```### Running tests
To run the test suite, use:
```
$ cargo test
```from the repository root.