mirror of
https://github.com/fluencelabs/wasm-bindgen
synced 2025-03-16 02:00:51 +00:00
Enable env_logger for the wasm-bindgen
CLI tool
This was intended earlier, but fogotten! Found during work on #1002
This commit is contained in:
parent
82bfbf9d20
commit
430fce7a8b
@ -5,6 +5,7 @@ extern crate docopt;
|
||||
extern crate wasm_bindgen_shared;
|
||||
#[macro_use]
|
||||
extern crate failure;
|
||||
extern crate env_logger;
|
||||
|
||||
use std::path::PathBuf;
|
||||
use std::process;
|
||||
@ -59,6 +60,7 @@ struct Args {
|
||||
}
|
||||
|
||||
fn main() {
|
||||
env_logger::init();
|
||||
let args: Args = Docopt::new(USAGE)
|
||||
.and_then(|d| d.deserialize())
|
||||
.unwrap_or_else(|e| e.exit());
|
||||
|
Loading…
x
Reference in New Issue
Block a user