Coder Social home page Coder Social logo

tomcli's Introduction

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.5 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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.