mirror of
https://github.com/Start9Labs/start-os.git
synced 2026-04-04 14:29:45 +00:00
pack
This commit is contained in:
committed by
Aiden McClelland
parent
172ef71c8d
commit
8b3a7c6df5
@@ -7,9 +7,7 @@ fn inner_main() -> Result<(), Error> {
|
||||
simple_logging::log_to_stderr(log::LevelFilter::Info);
|
||||
run_cli!(
|
||||
embassy::portable_api,
|
||||
app => app
|
||||
.arg(Arg::with_name("host").long("host").short("h").takes_value(true))
|
||||
.arg(Arg::with_name("port").long("port").short("p").takes_value(true)),
|
||||
app => app.name("Embassy SDK"),
|
||||
matches => EitherContext::Cli(CliContext::init(matches)?),
|
||||
|code| if code < 0 { 1 } else { code }
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user