0.0.12 • Published 3 years ago

@dsstudio/proto v0.0.12

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

Proto - A component library generator

Version Downloads/week License

Usage

$ npm install -g @dsstudio/proto
$ proto COMMAND
running command...
$ proto (-v|--version|version)
@dsstudio/proto/0.0.12 darwin-x64 node-v15.2.1
$ proto --help [COMMAND]
USAGE
  $ proto COMMAND
...

Quick Start

to be completed

Commands

proto commands

USAGE
  $ proto commands

OPTIONS
  -h, --help              show CLI help
  -j, --json              display unfiltered api data in json format
  -x, --extended          show extra columns
  --columns=columns       only show provided columns (comma-separated)
  --csv                   output is csv format [alias: --output=csv]
  --filter=filter         filter property by partial string matching, ex: name=foo
  --hidden                show hidden commands
  --no-header             hide table header from output
  --no-truncate           do not truncate output to fit screen
  --output=csv|json|yaml  output in a more machine friendly format
  --sort=sort             property to sort by (prepend '-' for descending)

See code: @oclif/plugin-commands

proto generate [INTERFACE_PATH] -t=[TEMPLATE]

USAGE
  $ proto generate [INTERFACE_PATH] -t=[TEMPLATE]

ARGUMENTS
  INTERFACE_PATH  ComponentStyles interface to use. Should be a .json file

OPTIONS
  -f, --force
  -h, --help                   show CLI help
  -o, --outputPath=outputPath  Output folder for your component library

  -t, --template=template      Template to use in order to generate your component library. Should be one of:
                               [react-styled-components | react-emotion]

  -v, --version                show CLI version

EXAMPLE
  proto generate examples/components.json -t=react-styled-components

See code: build/commands/generate.ts

proto help [COMMAND]

USAGE
  $ proto help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

proto update [CHANNEL]

USAGE
  $ proto update [CHANNEL]

See code: @oclif/plugin-update

Available Templates

to be completed

ComponentStyles Interface

to be completed