Skip to content

Commit ce90b07

Browse files
committed
0.3.2 updated guides
1 parent 6f8bd4b commit ce90b07

18 files changed

Lines changed: 30 additions & 4 deletions

CHANGELOG.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,13 @@
22

33
All notable changes to vecli will be documented here.
44

5+
## [0.3.2] - 11/03/2026
6+
7+
### Added
8+
- Added pages to [the user guide](https://razkar-studio.github.io/vecli).
9+
10+
---
11+
512
## [0.3.1] - 11/03/2026
613

714
### Added

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,6 @@
66

77
[![License](https://img.shields.io/badge/license-RSPL-blue)](./LICENSE.md)
88
[![Docs](https://img.shields.io/badge/docs-latest-blue.svg)](https://docs.rs/vecli)
9-
109
[![Crates.io](https://img.shields.io/crates/v/vecli)](https://crates.io/crates/vecli)
1110
[![lib.rs](https://img.shields.io/badge/vecli-lib.rs-orange)](https://lib.rs/crates/vecli)
1211

docs/src/core-concepts/commands.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Commands
22

3+
!['don't tell me what to do'](../images/don't_tell_me_what to_do.png)
4+
35
Let's give your app some commands to run. Here's how you can define them:
46

57
```rust

docs/src/core-concepts/context.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# CommandContext
22

3+
!['no context'](../images/no_context.png)
4+
35
Every command handler receives a `&CommandContext` as its only argument. It contains everything
46
vecli parsed from the command line for that invocation.
57

docs/src/core-concepts/flags.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Flags
22

3+
!['oh, you mean a nation\'s flag?'](../images/oh,_you_mean_a nation's_flag_.png)
4+
35
Flags are named options passed by the user at the command line, like `--silent` or `--output file.txt`.
46
vecli handles parsing, alias resolution, and delivery to your handler automatically.
57

docs/src/core-concepts/subcommands.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# Subcommands
22

3+
Full subcommand chaining support was added on [version 0.3.0](https://github.com/razkar-studio/vecli/releases/tag/v0.3.0).
4+
35
Say we want a `goodbye` subcommand for our `hello` command that prints a farewell message. We can achieve this flawlessly by adding a new subcommand to our `hello` command.
46

57
First, make the handler for it, we'll need it later:

docs/src/getting-started/first-app.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# First App
22

3+
!['hello, vecli!'](../images/hello,_vecli!.png)
4+
35
> [!IMPORTANT]
46
> This guide documentation is a work in progress. Pages are missing. Expect only the bare minimum to know about using vecli.
57

docs/src/getting-started/installation.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,6 @@
11
# Installation
22

3-
> [!IMPORTANT]
4-
> vecli is a relatively new crate and may still be in development.
3+
![cargo add vecli](../images/cargo_install_vecli.png)
54

65
vecli is available on [crates.io](https://crates.io/crates/vecli). To add it to your project, run:
76

16.5 KB
Loading
17.3 KB
Loading

0 commit comments

Comments
 (0)