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

config-style-cli

Package Overview
Dependencies
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

config-style-cli

This is a config-style CLI Builder.

0.0.2
latest
npm
Version published
Weekly downloads
1
Maintainers
1
Weekly downloads
 
Created
Source

config-style-cli

Introduction

This is a config-style CLI Builder.

Usually, this library is used to build a CLI Tool to start the service app with config.

Install

npm i config-style-cli

Usage

const { App, AppDefaultConfig } =  require("./app");

const CLI = require("config-style-cli");

CLI([
    App,
    AppDefaultConfig    
]);

Then use the CLI Tool to start your service app:

  Options:
      --init : initialize a default json config file
      --config, -c : specify a config path
      --appname : specify app name you want to start
      --start : start the app

FAQs

Package last updated on 15 Feb 2021

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