Skip to content

Commit 419e7ff

Browse files
authored
feat: add versioning on cli (#460)
1 parent 13db1b8 commit 419e7ff

File tree

2 files changed

+2
-0
lines changed

2 files changed

+2
-0
lines changed

service/src/cli.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ use std::path::PathBuf;
66
use clap::Parser;
77

88
#[derive(Parser)]
9+
#[command(version)]
910
pub struct Cli {
1011
/// Path to the configuration file.
1112
/// See https://github.com/graphprotocol/indexer-rs/tree/main/service for examples.

tap-agent/src/cli.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,7 @@ use tracing::{error, level_filters::LevelFilter};
1010
use tracing_subscriber::{EnvFilter, FmtSubscriber};
1111

1212
#[derive(Parser)]
13+
#[command(version)]
1314
pub struct Cli {
1415
/// Path to the configuration file.
1516
/// See https://github.com/graphprotocol/indexer-rs/tree/main/tap-agent for examples.

0 commit comments

Comments
 (0)