mirror of
https://github.com/winapps-org/winapps.git
synced 2025-06-05 22:57:19 +02:00
rename command app to run
This commit is contained in:
parent
25889959ae
commit
c004c01514
@ -12,7 +12,7 @@ fn cli() -> Command {
|
|||||||
.subcommand(Command::new("check").about("Checks remote connection"))
|
.subcommand(Command::new("check").about("Checks remote connection"))
|
||||||
.subcommand(Command::new("connect").about("Connects to remote"))
|
.subcommand(Command::new("connect").about("Connects to remote"))
|
||||||
.subcommand(
|
.subcommand(
|
||||||
Command::new("app")
|
Command::new("run")
|
||||||
.about("Connects to app on remote")
|
.about("Connects to app on remote")
|
||||||
.arg(arg!(<APP> "App to open")),
|
.arg(arg!(<APP> "App to open")),
|
||||||
)
|
)
|
||||||
@ -46,7 +46,7 @@ fn main() {
|
|||||||
|
|
||||||
client.run_app(config, None);
|
client.run_app(config, None);
|
||||||
}
|
}
|
||||||
Some(("app", sub_matches)) => {
|
Some(("run", sub_matches)) => {
|
||||||
println!("Connecting to app on remote");
|
println!("Connecting to app on remote");
|
||||||
|
|
||||||
client.run_app(config, sub_matches.get_one::<String>("APP"));
|
client.run_app(config, sub_matches.get_one::<String>("APP"));
|
||||||
|
Loading…
x
Reference in New Issue
Block a user