Skip to content

Commit 2dce496

Browse files
authored
feat(runtimed): add --version flag to CLI (#699)
Users can now check the installed runtimed version with --version or -V. The version is automatically read from Cargo.toml and displayed in the help text.
1 parent 7d2faf5 commit 2dce496

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

crates/runtimed/src/main.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@ use runtimed::singleton::get_running_daemon_info;
1414

1515
#[derive(Parser, Debug)]
1616
#[command(name = "runtimed")]
17+
#[command(version)]
1718
#[command(about = "Runtime daemon for managing Jupyter environments")]
1819
struct Cli {
1920
#[command(subcommand)]

0 commit comments

Comments
 (0)