aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormurilo ijanc2025-11-22 10:52:45 -0300
committermurilo ijanc2025-11-22 10:52:45 -0300
commit21ccabe1dfd06b69b1f1fe9faeb82c9e6da8d6b2 (patch)
tree311b58bdb34e2a8ba0c32abdd4fd463621224418
parente097527979bd6f5aa28c8e587ffc986558a0ea2e (diff)
downloadtemplates-21ccabe1dfd06b69b1f1fe9faeb82c9e6da8d6b2.tar.gz
Improve README to add default sections when template is cli
-rw-r--r--cli/template/README.md75
1 files changed, 72 insertions, 3 deletions
diff --git a/cli/template/README.md b/cli/template/README.md
index 3dcf61b..ea0d3ef 100644
--- a/cli/template/README.md
+++ b/cli/template/README.md
@@ -1,11 +1,80 @@
# {{project-name}}
-## Run
+`{{project-name}}` {{project-description}}
+
+## Why
+
+## Features
+
+- Feature 1
+- Feature 2
+- Feature 3
+
+## Requirements
+
+- Rust toolchain (Rust 1.89 or newer recommended)
+
+To install Rust:
+
+```sh
+curl https://sh.rustup.rs -sSf | sh
+```
+
+Verify installation:
+
+```sh
+rustc --version
+cargo --version
+```
+
+## Building
+
+Clone the repository and build the binary:
+
+```sh
+git clone ssh://anon@ijanc.org/{{project-name}}
+cd {{project-name}}
+cargo build --release
+```
+
+The binary will be located at:
+
+```
+target/release/{{project-name}}
+```
+
+You can add it to your PATH, move it to `/usr/local/bin`.
+
+or
+
+```
+cargo install --path .
+```
+
+## Command Overview
+
+`{{project-name}}` currently supports one primary operation:
+
+### Command 1
+
+## Logging and verbosity
+
+`{{project-name}}` uses `tracing` for structured logging.
+
+By default, logs are shown at the INFO level.\
+Use `-v` to enable DEBUG logs:
+
+```
+{{project-name}} -v ...
+```
+
+Or configure via `RUST_LOG`:
```
-RUST_LOG=debug cargo run
+RUST_LOG=debug {{project-name}} ...
```
## License
-This project is licensed under the ISC license ([LICENSE](LICENSE) or http://opensource.org/licenses/ISC)
+This project is licensed under the ISC license ([LICENSE](LICENSE) or\
+http://opensource.org/licenses/ISC)