//! Your favorite rust -> wasm workflow tool! #![deny(missing_docs)] extern crate console; extern crate curl; #[macro_use] extern crate failure; extern crate flate2; extern crate indicatif; #[macro_use] extern crate lazy_static; extern crate parking_lot; #[macro_use] extern crate serde_derive; extern crate serde_json; #[macro_use] extern crate structopt; #[macro_use] extern crate slog; extern crate slog_async; extern crate slog_term; extern crate tar; extern crate toml; extern crate which; extern crate zip; pub mod binaries; pub mod bindgen; pub mod build; pub mod command; pub mod emoji; pub mod error; pub mod logger; pub mod manifest; pub mod npm; pub mod progressbar; pub mod readme; pub mod target; pub mod test; use progressbar::ProgressOutput; lazy_static! { /// The global progress bar and user-facing message output. pub static ref PBAR: ProgressOutput = { ProgressOutput::new() }; } /// 📦 ✨ pack and publish your wasm! #[derive(Debug, StructOpt)] pub struct Cli { /// The subcommand to run. #[structopt(subcommand)] // Note that we mark a field as a subcommand pub cmd: command::Command, /// Log verbosity is based off the number of v used #[structopt(long = "verbose", short = "v", parse(from_occurrences))] pub verbosity: u8, }