This package has been deprecated

Author message:

Moved another package name @tomilenko/tomcli

tomcli
TypeScript icon, indicating that this package has built-in type declarations

0.1.0 • Public • Published

tomcli

oclif Version Appveyor CI Downloads/week License

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 tomcli
$ tomcli COMMAND
running command...
$ tomcli (-v|--version|version)
tomcli/0.1.0 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

Readme

Keywords

Package Sidebar

Install

npm i tomcli

Weekly Downloads

1

Version

0.1.0

License

MIT

Unpacked Size

227 kB

Total Files

67

Last publish

Collaborators

  • tomilenko