@tomilenko/tomcli
tomcli
Last updated 7 months ago by tomilenko .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @tomilenko/tomcli 
SYNC missed versions from official npm registry.

tomcli

CLI tool

oclif Version Appveyor CI Downloads/week License Donate

Description

The command line tool for generating projects or specific files. You can generate predefined project template like express app with custom project structure etc. You can find it in templates/projects.

You can add you own template (like in templates/projects/node-express) and generate it where you need for new project setup.

Usage

$ npm install -g @tomilenko/tomcli
$ tomcli COMMAND
running command...
$ tomcli (-v|--version|version)
@tomilenko/tomcli/0.1.4 darwin-x64 node-v12.1.0
$ tomcli --help [COMMAND]
USAGE
  $ tomcli COMMAND
...

Commands

tomcli generate [TEMPLATE] [NAME] [DEST]

Generate files

USAGE
  $ tomcli generate [TEMPLATE] [NAME] [DEST]

ARGUMENTS
  TEMPLATE  Generation type name
  NAME      Project name
  DEST      Destination directory

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ tomcli generate

See code: src/commands/generate.ts

tomcli hello [FILE]

describe the command here

USAGE
  $ tomcli hello [FILE]

OPTIONS
  -f, --force
  -h, --help       show CLI help
  -n, --name=name  name to print

EXAMPLE
  $ tomcli hello
  hello world from ./src/hello.ts!

See code: src/commands/hello.ts

tomcli help [COMMAND]

display help for tomcli

USAGE
  $ tomcli help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

tomcli project [TEMPLATE] [NAME]

Create new project

USAGE
  $ tomcli project [TEMPLATE] [NAME]

ARGUMENTS
  TEMPLATE  Template name
  NAME      Project name

OPTIONS
  -h, --help  show CLI help

See code: src/commands/project.ts

Current Tags

  • 0.1.5                                ...           latest (7 months ago)

4 Versions

  • 0.1.5                                ...           7 months ago
  • 0.1.4                                ...           7 months ago
  • 0.1.3                                ...           7 months ago
  • 0.1.2                                ...           7 months ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 0
Dependencies (19)
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |