2 releases
0.0.2 | Jul 3, 2021 |
---|---|
0.0.1 | Jun 6, 2021 |
#9 in #todoist
27KB
567 lines
clogi
The name clogi
was originally meant to mean cargo-logistics
, since I had
wanted to create a command line utility that would cater to my abstract, object
oriented brain so I could run things like cargo new class
within a project
and dump a lot of boiler plate code into files and organise them sensibly.
Now, it's more like command-line-logistics
, since this project is basically
a meeting place for command line applications that I want to write.
Summary of parts
- clogi, the CLI.
- todoist, or lib-todoist, for
Todoist
models and interfacing with their API. - chrono_elapsed, an extension of
chrono
. Provides contextually aware date objects. In other words, allows you to display things such as datetimedt
wasn days ago
or arrivesin 02:30s
. - korero, a library with code for making HTTP requests. Aims to be where code for interfacing externally lives.
External
- StructOpt: automatic parsing of arguments.
- Serde: works in tandem with schemars and serde_json.
- reqwest: for HTTP stuff.
- chrono: date parsing.
- console, dialoguer, indicatif for help in the CLI.
Credit, ideas & inspiration
- This blog post from Ben Boeckel
Dependencies
~9–19MB
~263K SLoC