mirror of
https://github.com/mii443/wasmer.git
synced 2025-12-10 14:48:27 +00:00
Update dependencies. Use Clap 3.0.0-beta2 instead of StructOpt
This commit is contained in:
@@ -1,17 +1,17 @@
|
||||
use crate::store::StoreOptions;
|
||||
use anyhow::{Context, Result};
|
||||
use clap::Clap;
|
||||
use std::path::PathBuf;
|
||||
use structopt::StructOpt;
|
||||
use wasmer::*;
|
||||
|
||||
#[derive(Debug, StructOpt)]
|
||||
#[derive(Debug, Clap)]
|
||||
/// The options for the `wasmer validate` subcommand
|
||||
pub struct Validate {
|
||||
/// File to validate as WebAssembly
|
||||
#[structopt(name = "FILE", parse(from_os_str))]
|
||||
#[clap(name = "FILE", parse(from_os_str))]
|
||||
path: PathBuf,
|
||||
|
||||
#[structopt(flatten)]
|
||||
#[clap(flatten)]
|
||||
store: StoreOptions,
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user