5.1.1 • Published 3 years ago

@dbenfouzari/cli v5.1.1

Weekly downloads
-
License
MIT
Repository
github
Last release
3 years ago

@dbenfouzari/cli

Some CLI to help your development process

Usage

$ npm install -g @dbenfouzari/cli
$ dbenfouzari COMMAND
running command...
$ dbenfouzari (-v|--version|version)
@dbenfouzari/cli/5.1.1 darwin-x64 node-v14.16.0
$ dbenfouzari --help [COMMAND]
USAGE
  $ dbenfouzari COMMAND
...

Commands

dbenfouzari generate:component [NAME] [PATH]

USAGE
  $ dbenfouzari generate:component [NAME] [PATH]

ARGUMENTS
  NAME  Component name
  PATH  Your component's path

OPTIONS
  -h, --help       show CLI help
  -n, --name=name  Component name
  -p, --path=path  Your component's path

EXAMPLES
  # By passing arguments
     $ dbenfouzari generate:component button src/components

  # By passing flags
     $ dbenfouzari generate:component --name=button --path=src/components

  # By following wizard
     $ dbenfouzari generate:component

     ? What is the component name ? button
     ? Select a target directory src/components/
     ✨  Done in 4.24s.

  It finally creates a folder like this
  📦 src
    ┣ 📂 components
    ┃ ┣ 📂 button
    ┃ ┃ ┣ 📜 index.ts
    ┃ ┃ ┣ 📜 button.stories.tsx
    ┃ ┃ ┣ 📜 button.test.tsx
    ┃ ┃ ┗ 📜 button.tsx
    ┗ ...

See code: src/commands/generate/component.ts

dbenfouzari generate:native-component [NAME] [PATH]

USAGE
  $ dbenfouzari generate:native-component [NAME] [PATH]

ARGUMENTS
  NAME  Component name
  PATH  Your component's path

OPTIONS
  -h, --help       show CLI help
  -n, --name=name  Component name
  -p, --path=path  Your component's path

EXAMPLES
  # By passing arguments
     $ dbenfouzari generate:native-component button src/components

  # By passing flags
     $ dbenfouzari generate:native-component --name=button --path=src/components

  # By following wizard
     $ dbenfouzari generate:native-component

     ? What is the component name ? button
     ? Select a target directory src/components/
     ✨  Done in 4.24s.

  It finally creates a folder like this
  📦 src
    ┣ 📂 components
    ┃ ┣ 📂 button
    ┃ ┃ ┣ 📜 index.ts
    ┃ ┃ ┣ 📜 button.stories.tsx
    ┃ ┃ ┣ 📜 button.test.tsx
    ┃ ┃ ┗ 📜 button.tsx
    ┗ ...

See code: src/commands/generate/native-component.ts

dbenfouzari help [COMMAND]

USAGE
  $ dbenfouzari help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

dbenfouzari i18n:check

USAGE
  $ dbenfouzari i18n:check

OPTIONS
  -d, --dictionaries=dictionaries  (required) Your dictionaries root path
  -h, --help                       Show this help
  --src=src                        [default: ./src] Your source path

EXAMPLE
  $ dbenfouzari i18n:check -d ./src/i18n/dictionaries

See code: src/commands/i18n/check.ts

dbenfouzari i18n:generate-missing

USAGE
  $ dbenfouzari i18n:generate-missing

OPTIONS
  -d, --dictionaries=dictionaries  (required) Your dictionaries root path
  -h, --help                       show CLI help
  --src=src                        [default: ./src] Your source path

EXAMPLE
  $ dbenfouzari i18n:generate-missing -d ./src/i18n/dictionaries

See code: src/commands/i18n/generate-missing.ts

dbenfouzari setup:fastlane

USAGE
  $ dbenfouzari setup:fastlane

OPTIONS
  -h, --help  show CLI help

See code: src/commands/setup/fastlane.ts

dbenfouzari setup:i18n

USAGE
  $ dbenfouzari setup:i18n

OPTIONS
  -h, --help  show CLI help

See code: src/commands/setup/i18n.ts

dbenfouzari setup:sentry

USAGE
  $ dbenfouzari setup:sentry

OPTIONS
  -h, --help  show CLI help

See code: src/commands/setup/sentry.ts

dbenfouzari setup:splash

USAGE
  $ dbenfouzari setup:splash

OPTIONS
  -h, --help  show CLI help

See code: src/commands/setup/splash.ts