UNPKG

nx-helper-cli

Version:

This is a helper cli which helps get things done fast in a monorepo. mainly it's used with [nx.dev](http://google.com) tool but has many tools that may benefit anybody working in a monorepo architecture.

17 lines (14 loc) 303 B
import { Args } from "./intefaces/Args.interface" export let isHelp = (args: Args) => { if (args.help) return true; return false; } export let getCommandType = (args: Args) => { if (args.help) { return 'help'; } if (args.config) { return 'config'; } };