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.
23 lines (20 loc) • 506 B
text/typescript
export interface Args {
help: boolean;
config: string;
}
export interface CommandJSON {
[key: string]: CommandObject;
}
export interface CommandObject {
command: string;
options: {
color?: 'green' | 'yellow' | 'blue' | 'magenta' | 'cyan' | 'white' | 'gray' | String,
name?: string;
}
}
// { command: 'npm run koko', name: 'KOKO MAN 1', prefixColor: 'yellow' },
export interface ConcurrentlyCMD {
command: string;
name?: string;
prefixColor?: string;
}