GithubHelp home page GithubHelp logo

jordan-eckowitz / boil-cli Goto Github PK

View Code? Open in Web Editor NEW
1.0 1.0 1.0 150 KB

CLI tool - boilerplate template manager and generator

Home Page: https://jordan-eckowitz.github.io/boil-cli-docs/

JavaScript 0.38% Batchfile 0.09% TypeScript 99.52%
cli boilerplate boilerplate-template boilerplate-application generator template

boil-cli's Introduction

About

A boilerplate template manager and generator

Check out the full documentation here: https://jordan-eckowitz.github.io/boil-cli-docs

oclif Version Downloads/week License

Usage

$ npm install -g boil-cli-tool
$ boil COMMAND
running command...
$ boil (-v|--version|version)
boil-cli-tool/1.1.1 darwin-x64 node-v12.13.1
$ boil --help [COMMAND]
USAGE
  $ boil COMMAND
...

Commands

boil create [NAME]

create a new boilerplate template

USAGE
  $ boil create [NAME]

ARGUMENTS
  NAME  template name

OPTIONS
  -a, --args=args  local template args
  -h, --help       show CLI help

EXAMPLES
  $ boil create person --args name,surname,age
  $ boil create person -a name,surname,age

See code: src/commands/create.ts

boil create-function [NAME]

create a new boilerplate template function

USAGE
  $ boil create-function [NAME]

ARGUMENTS
  NAME  template function name

OPTIONS
  -h, --help  show CLI help

EXAMPLE
  $ boil create-function timestamp

See code: src/commands/create-function.ts

boil help [COMMAND]

display help for boil

USAGE
  $ boil help [COMMAND]

ARGUMENTS
  COMMAND  command to show help for

OPTIONS
  --all  see all commands in CLI

See code: @oclif/plugin-help

boil init

create a new boilerplate directory

USAGE
  $ boil init

OPTIONS
  -h, --help  show CLI help

See code: src/commands/init.ts

boil list

list all boil commands

USAGE
  $ boil list

OPTIONS
  -h, --help  show CLI help

See code: src/commands/list.ts

boil up TEMPLATE

generate boilerplate from one of the templates

USAGE
  $ boil up TEMPLATE

ARGUMENTS
  TEMPLATE  call up a template defined in the '.boilerplate' directory

OPTIONS
  -h, --help  show CLI help

EXAMPLES
  $ boil up component --name App --filetype js
  $ boil up component -n App -ft js

  run boil list to see all available boilerplate templates

See code: src/commands/up.ts

boil-cli's People

Contributors

jordan-eckowitz avatar

Stargazers

 avatar

Watchers

 avatar

boil-cli's Issues

[Feature] Configurable template variable escape characters

This is the best simple template/boilerplate generator CLI based on NodeJS I could find. However, currently it does not work on Windows because <,>, and | are illegal characters in directory and file names. This could be addressed by providing an option to configure the escape characters (maybe during boil init).
So instead of

<| someValue |>

we could specify to escape with e.g. {%, %}

{% someValue %}

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.