Skip to content

Commit

Permalink
rename command app to run
Browse files Browse the repository at this point in the history
  • Loading branch information
LDprg committed Oct 9, 2023
1 parent 2588995 commit c004c01
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions winapps-cli/src/main.rs
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ fn cli() -> Command {
.subcommand(Command::new("check").about("Checks remote connection"))
.subcommand(Command::new("connect").about("Connects to remote"))
.subcommand(
Command::new("app")
Command::new("run")
.about("Connects to app on remote")
.arg(arg!(<APP> "App to open")),
)
Expand Down Expand Up @@ -46,7 +46,7 @@ fn main() {

client.run_app(config, None);
}
Some(("app", sub_matches)) => {
Some(("run", sub_matches)) => {
println!("Connecting to app on remote");

client.run_app(config, sub_matches.get_one::<String>("APP"));
Expand Down

0 comments on commit c004c01

Please sign in to comment.