|
|
|
@ -17,17 +17,17 @@ use PBAR; |
|
|
|
|
#[derive(Debug, StructOpt)] |
|
|
|
|
pub enum Command { |
|
|
|
|
#[structopt(name = "init")] |
|
|
|
|
/// 🐣 initialize a package.json based on your compiled wasm
|
|
|
|
|
/// 🐣 initialize a package.json based on your compiled wasm!
|
|
|
|
|
Init { |
|
|
|
|
path: Option<String>, |
|
|
|
|
#[structopt(long = "scope", short = "s")] |
|
|
|
|
scope: Option<String>, |
|
|
|
|
}, |
|
|
|
|
#[structopt(name = "pack")] |
|
|
|
|
/// 🍱 create a tar of your npm package but don't publish! [NOT IMPLEMENTED]
|
|
|
|
|
/// 🍱 create a tar of your npm package but don't publish!
|
|
|
|
|
Pack { path: Option<String> }, |
|
|
|
|
#[structopt(name = "publish")] |
|
|
|
|
/// 🎆 pack up your npm package and publish! [NOT IMPLEMENTED]
|
|
|
|
|
/// 🎆 pack up your npm package and publish!
|
|
|
|
|
Publish { path: Option<String> }, |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|