Skip to content

Latest commit

 

History

History
65 lines (52 loc) · 1.95 KB

README.md

File metadata and controls

65 lines (52 loc) · 1.95 KB

ToDoTerminal

A CLI for interacting with a remote server to manage TODOs!

What is this?

Its a CLI written in Rust connecting to an API written in Python. I went all out on the auth so it uses tokens to verify stuff after a user has logged in. It features todo creation, completion, deletion, and more! Some examples below!

Getting started

Starting is as simple as

  1. Installing todoterminal: cargo install todoterminal
  2. Running the specific commands for your platform below!

Running on windows
Setup the env file:
echo HOST="https://api.thijmens.nl" > "%USERPROFILE%/todoterminal.env"
Run todoterminal:
set "CREDS=%USERPROFILE%/todoterminal.env" && todoterminal ...

Running on Linux
Setup the env file:
echo HOST="https://api.thijmens.nl" > "$HOME/todoterminal.env"
Run todoterminal:
CREDS="$HOME/todoterminal.env" todoterminal ...

You can use todoterminal as follows: todoterminal <command> [arguments], you can find a list of commands here.
NOTE: Not passing a "CREDS" env variable will result in todoterminal using "./.env" as the path.

Encountering any issues? DM tuinboon on discord (or submit a PR!)

Commands

todoterminal account login | logout | create
todoterminal 2fa <code>
todoterminal todos complete | uncomplete | delete <id>
todoterminal todos import <fs|git> <path|github url> [clone dest]
todoterminal todos create "<text>"
todoterminal todos list

Examples/ demos

Account Creation:

Importing TODOs from git:

Creating and updating TODOs: