Merge pull request #26 from ashleygwilliams/prep-for-crates

feat(msg): mark pack and publish as not implemented
master
ashley williams 7 years ago committed by GitHub
commit ccf6979e69
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 10
      src/main.rs

@ -23,10 +23,10 @@ enum Command {
/// 🐣 initialize a package.json based on your compiled wasm /// 🐣 initialize a package.json based on your compiled wasm
Init { path: Option<String> }, Init { path: Option<String> },
#[structopt(name = "pack")] #[structopt(name = "pack")]
/// 🍱 create a tar of your npm package but don't publish! /// 🍱 create a tar of your npm package but don't publish! [NOT IMPLEMENTED]
Pack {}, Pack {},
#[structopt(name = "publish")] #[structopt(name = "publish")]
/// 🎆 pack up your npm package and publish! /// 🎆 pack up your npm package and publish! [NOT IMPLEMENTED]
Publish {}, Publish {},
} }
@ -44,9 +44,11 @@ main!(|args: Cli, log_level: verbosity| match args.cmd {
bindgen::wasm_bindgen_build(&crate_path, &name); bindgen::wasm_bindgen_build(&crate_path, &name);
} }
Command::Pack { .. } => { Command::Pack { .. } => {
println!("🎒 packed up your package!"); println!("🙅 whoops! this is not implemented yet! sorry!");
//println!("🎒 packed up your package!");
} }
Command::Publish { .. } => { Command::Publish { .. } => {
println!("💥 published your package!"); println!("🙅 whoops! this is not implemented yet! sorry!");
//println!("💥 published your package!");
} }
}); });

Loading…
Cancel
Save