Skip to content

Commit 1ed745b

Browse files
Provide mlt cli version (#1406)
Gives mlt cli version by running `mlt --version` ```shell ❯ ./target/release/mlt --version mlt 0.1.14 ```
1 parent 0615028 commit 1ed745b

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

rust/mlt/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,7 @@ fn main() -> AnyResult<()> {
3232

3333
#[derive(Parser)]
3434
#[command(name = "mlt", about = "MapLibre Tile format utilities")]
35+
#[command(version = env!("CARGO_PKG_VERSION"))]
3536
struct Cli {
3637
#[command(subcommand)]
3738
command: Commands,

0 commit comments

Comments
 (0)