GithubHelp home page GithubHelp logo

vasejs / blessed-cli Goto Github PK

View Code? Open in Web Editor NEW

This project forked from blessedjs/blessed-cli

0.0 0.0 0.0 121 KB

A CLI to create / scaffold blessed apps

License: MIT License

JavaScript 100.00%

blessed-cli's Introduction

blessed-cli

Build and Deploy semantic-release npm version

A CLI to create / scaffold blessed apps with conventional folder structure and project setup.

Features:

  • Project scaffolding
  • Theming setup implemeted by default
  • Generate commands for pages and widgets
  • Conventional project structure with linting enabled

Install

npm install -g @blessed/cli

Usage

To open a wizard UI

blessed

Create a new blessed CLI project

blessed new <project-name>

Example:

blessed new my-awesome-cli

Create a new page in the CLI

cd my-awesome-cli
blessed page <page-name>

For example, if you want to create a page named home

blessed page home

You can also use the alias p for creating pages

blessed p home

Create a new blessed widget inside the project

blessed widget <widget-name>

By default, this will create a Box widget. You can also pass the --type option to specify the type of the widget.

blessed widget <widget-name> --type list

You can also use the alias w to create a widget

blessed w hello-world --type list

List of widgets available

  • bigtext
  • box
  • list
  • listbar
  • listtable
  • loading
  • log
  • message
  • prompt
  • question
  • table
  • text

Help

blessed <command> <params> <options>

Commands:
  blessed new [project-name]    Create a new blessed project
  blessed page [page-name]      Create a new page component         [aliases: p]
  blessed widget [widget-name]  Create a new blessed widget         [aliases: w]

Options:
      --version  Show version number                                   [boolean]
      --help     Show help                                             [boolean]
  -d, --dry-run  Dry Run: Verify the command without executing         [boolean]

For more information, see https://github.com/terminal-junkies/blessed-cli

Projects created with blessed-cli

  • ember-cli-next
  • ember-app-explorer
  • ember-observer-cli
  • nvm-tui
  • npmx

blessed-cli's People

Contributors

rajasegar avatar semantic-release-bot avatar

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.