summaryrefslogtreecommitdiffstats
path: root/crates/atuin/src/command/client.rs
diff options
context:
space:
mode:
Diffstat (limited to 'crates/atuin/src/command/client.rs')
-rw-r--r--crates/atuin/src/command/client.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/crates/atuin/src/command/client.rs b/crates/atuin/src/command/client.rs
index 45e039c6..afceea34 100644
--- a/crates/atuin/src/command/client.rs
+++ b/crates/atuin/src/command/client.rs
@@ -75,8 +75,8 @@ pub enum Cmd {
Doctor,
/// Execute a runbook or workflow
- #[command()]
- Run,
+ #[command(subcommand)]
+ Run(run::Cmd),
/// Print example configuration
#[command()]
@@ -140,7 +140,7 @@ impl Cmd {
Self::Doctor => doctor::run(&settings),
- Self::Run => run::run(),
+ Self::Run(r) => r.run().await,
Self::DefaultConfig => {
default_config::run();