@react-native-paper-abstracted/cli
Version:
React Native Paper Abstracted is a package that allows you to use only the components you need from [React Native Paper](https://reactnativepaper.com). Thus allowing users to keep their app size small, and provides endless customization.
18 lines (12 loc) • 440 B
text/typescript
import { Command } from "commander";
import { add } from "../commands/add.js";
import { init } from "../commands/init.js";
export const program = new Command();
program.command("init")
.description("Setup the project to be compatible with React Native Paper Abstracted")
.action(init);
program.command("add")
.description("Add a new component")
.argument("<string>", "Component name")
.action(add);
program.version("0.1.2");