@devavi-labs/duhh
TypeScript icon, indicating that this package has built-in type declarations

0.0.1 • Public • Published

@devavi-labs/duhh

A personal CLI tool.

oclif Version CircleCI Downloads/week License

Usage

$ npm install -g @devavi-labs/duhh
$ duhh COMMAND
running command...
$ duhh (-v|--version|version)
@devavi-labs/duhh/0.0.1 linux-x64 node-v14.15.1
$ duhh --help [COMMAND]
USAGE
  $ duhh COMMAND
...

Commands

duhh help [COMMAND]

display help for duhh

USAGE
  $ duhh help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

duhh react-component [NAME]

Creates a component in /src/components/

USAGE
  $ duhh react-component [NAME]

OPTIONS
  -S, --style=(css|scss|sass)         [default: css] creates a css, scss or sass file and links it
  -T, --template=(jsx|tsx)            [default: tsx] creates a .jsx or .tsx file
  -c, --component=(functional|class)  [default: functional] creates a React functional or class component
  -e, --export=(default|named)        [default: named] exports the component as a default or named export
  -s, --includestyle                  whether to include a style file or not
  -t, --includetype                   whether to include a type or not

See code: src/commands/react-component.ts

Readme

Keywords

Package Sidebar

Install

npm i @devavi-labs/duhh

Weekly Downloads

0

Version

0.0.1

License

MIT

Unpacked Size

12.5 kB

Total Files

13

Last publish

Collaborators

  • devavi-labs