🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@boost/cli

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@boost/cli

A type-safe and powerful command line interface, built on React and Ink.

0.0.1
Source
npm
Version published
Weekly downloads
22K
46.12%
Maintainers
1
Weekly downloads
 
Created
Source

Boost CLI

Build Status npm version npm deps

A type-safe command line interface built on Boost, React, and Ink.

import { Program } from '@boost/cli';
import BuildCommand from './commands/Build';
import CleanCommand from './commands/Clean';

const program = new Program({
  bin: 'boost',
  name: 'Boost',
  version: '1.2.3',
});

program.register(new BuildCommand());
program.register(new CleanCommand());

await program.run(process.argv.slice(2));

Features

  • Supports common argument features like commands, sub-commands, options, flags, parameters, and more.
  • Export a single command or multi-command binary.
  • Write declarative commands with decorators, or imperative commands with static properties.
  • Render beautiful interfaces using React and Ink at 16 FPS, or output simple strings.
  • Buffers console logs to avoid render tearing.
  • Customize output colors using Boost-based terminal themes.

Installation

yarn add @boost/cli react ink

Documentation

https://milesj.gitbook.io/boost/cli

Keywords

boost

FAQs

Package last updated on 31 Mar 2020

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts