mega-pkg
Version:
> This readme is written by the author of this package [amanuel](https://github.com/amanuel15)
42 lines (36 loc) • 1.04 kB
JavaScript
;
const meow = require("meow");
const chalk = require("chalk");
const flags = require("./flags");
const medaLogo = require("./meda_logo");
const ui = require("./ui");
const cli = meow(
`
Usage
$ ${chalk.yellow("mega-pkg")} create_app ${chalk.green(
`create a new mega mini app`
)}
$ ${chalk.yellow("mega-pkg")} pkg install all the dependencies in your project
$ ${chalk.yellow(
"mega-pkg"
)} pkg <foo> add the <foo> dependency to your project
$ ${chalk.yellow("mega-pkg")} start start the mini app server
$ ${chalk.yellow("mega-pkg")} unpkg <foo> ${chalk.red(
`remove the <foo> dependency from your project`
)}
$ ${chalk.yellow(
"mega-pkg"
)} debug provides a more detailed debug log for an already running miniapp
$ ${chalk.yellow("mega-pkg")} bundle generate a bundle file of your mini-app
Examples
$ mega-pkg pkg create-app
Enter your mini app's name ?
`,
{
booleanDefault: undefined,
flags,
}
);
// medaLogo();
ui(cli.input, cli.flags);