@daita/cli
@daita/cli ==========
Last updated 4 months ago by daita .
MIT · Bugs · Original npm · Tarball · package.json
$ cnpm install @daita/cli 
SYNC missed versions from official npm registry.

@daita/cli

oclif Version Downloads/week License

Usage

$ npm install -g @daita/cli
$ dc COMMAND
running command...
$ dc (-v|--version|version)
@daita/cli/0.1.1-alpha.2 darwin-x64 node-v13.3.0
$ dc --help [COMMAND]
USAGE
  $ dc COMMAND
...

Commands

dc diagram

create diagram for schema

USAGE
  $ dc diagram

OPTIONS
  -s, --schema=schema  path to schema

dc doc

open documentation website

USAGE
  $ dc doc

dc help [COMMAND]

display help for dc

USAGE
  $ dc help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

dc migration:add [NAME]

adds a new migration

USAGE
  $ dc migration:add [NAME]

OPTIONS
  -s, --schema=schema  path to schema

EXAMPLE
  $ dc migration add initial

dc migration:apply

apply relational migrations

USAGE
  $ dc migration:apply

OPTIONS
  -c, --context=context      [default: default] name of context
  -m, --migration=migration  migration id
  -s, --schema=schema        [default: src/schema.ts] path to schema

dc migration:undo [FILE]

undo last migration

USAGE
  $ dc migration:undo [FILE]

OPTIONS
  -s, --schema=schema  name to print

dc new [NAME]

creates a new project

USAGE
  $ dc new [NAME]

OPTIONS
  -d, --database=postgres|mysql|mongodb  database
  -l, --license=license                  license of project
  -p, --path=path                        path of project
  --npm-client=yarn|npm                  [default: npm] npm client to install dependencies
  --skip-install                         skip install of dependencies

dc serve

serve daita api

USAGE
  $ dc serve

OPTIONS
  -c, --context=context      [default: default] name of context
  -m, --migration=migration  migration id
  -p, --port=port            [default: 8765] application port
  -s, --schema=schema        [default: src/schema.ts] path to schema
  -w, --watch                watch for reload

Current Tags

  • 0.1.1-alpha.2                                ...           latest (4 months ago)

6 Versions

  • 0.1.1-alpha.2                                ...           4 months ago
  • 0.1.1-alpha.1                                ...           4 months ago
  • 0.1.1-alpha.0                                ...           4 months ago
  • 0.0.4-alpha.2                                ...           5 months ago
  • 0.0.4-alpha.1                                ...           5 months ago
  • 0.0.4-alpha.0                                ...           6 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 6
Last Day 0
Last Week 6
Last Month 0
Dependencies (8)
Dev Dependencies (8)
Dependents (0)
None

Copyright 2014 - 2017 © taobao.org |