|
@ -4,10 +4,12 @@ a CLI tool to post updates to crunk-scheduler. |
|
|
|
|
|
|
|
|
## Designing CLI tools |
|
|
## Designing CLI tools |
|
|
* I actually never did this properly. currently reading [this guide](https://clig.dev/) |
|
|
* I actually never did this properly. currently reading [this guide](https://clig.dev/) |
|
|
* [and this one](https://betterprogramming.pub/building-cli-apps-in-rust-what-you-should-consider-99cdcc67710c) |
|
|
* [and this one](https://betterprogramming.pub/building-cli-apps-in-rust-what-you-should-consider-99cdcc67710c) |
|
|
|
|
|
|
|
|
## Make working software first |
|
|
## Make working software first |
|
|
* `crunk-update -p "text"` should make a paragraph of `<p>text</p>` in [crunk-scheduler](https://git.vvvvvvaria.org/crunk/crunk-scheduler) |
|
|
* `crunk-update -p "text"` should make a paragraph of `<p>text</p>` in [crunk-scheduler](https://git.vvvvvvaria.org/crunk/crunk-scheduler) |
|
|
|
|
|
* this is now possible and working. up next we should make some CLI flags such as --help |
|
|
|
|
|
* and look up how to schedule a post |
|
|
|
|
|
|
|
|
## Learning Rust. |
|
|
## Learning Rust. |
|
|
* [clap is a Command Line Argument Parser for Rust](https://docs.rs/clap/latest/clap/) |
|
|
* [clap is a Command Line Argument Parser for Rust](https://docs.rs/clap/latest/clap/) |
|
|