carts
CLI Scaffolding tool with modular design for TypeScript developers.
Last updated 2 months ago by aaronjan .
Apache-2.0 · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install carts 
SYNC missed versions from official npm registry.

carts

CLI Scaffolding tool with modular design for TypeScript developers.

Still under active development, first stable release will be v1.0.0. All suggestions are welcomed!

oclif Version Codecov Downloads/week License

Goals

These are the main design goals:

  • Versatile: front end, back end, HTTP server, library ... supports any type of project
  • Opinionated: only provider one "canonical" solution for each use-case
  • Component-based architecture: modular desgin allows reusing building blocks for quick evolvement

Usage

$ npm install -g carts
$ carts COMMAND
running command...
$ carts (-v|--version|version)
carts/0.3.1 darwin-x64 node-v13.2.0
$ carts --help [COMMAND]
USAGE
  $ carts COMMAND
...

Commands

carts basic NAME [DESTDIR]

Create a basic project.

USAGE
  $ carts basic NAME [DESTDIR]

ARGUMENTS
  NAME     project's name
  DESTDIR  destination directory, using `<NAME>` when omitted

OPTIONS
  -h, --help     show CLI help
  --skipInstall  only write dependencies to `package.json`, skip downloading

EXAMPLE
  $ carts create my-project

See code: src/commands/basic.ts

carts help [COMMAND]

display help for carts

USAGE
  $ carts help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

carts monorepo NAME [DESTDIR]

Create a monorepo library.

USAGE
  $ carts monorepo NAME [DESTDIR]

ARGUMENTS
  NAME     project's name
  DESTDIR  destination directory, using `<NAME>` when omitted

OPTIONS
  -f, --force
  -h, --help         show CLI help
  -s, --scope=scope  package scope for namespacing like `@my-org/my-lib` (`--scope=my-org`), not using scope by default
  --skipInstall      only write dependencies to `package.json`, skip downloading

EXAMPLE
  $ carts monorepo my-monolib --scope=my-org

See code: src/commands/monorepo.ts

Credits

Current Tags

  • 0.3.1                                ...           latest (2 months ago)

2 Versions

  • 0.3.1                                ...           2 months ago
  • 0.3.0                                ...           2 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (11)
Dev Dependencies (24)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |