Socket
Socket
Sign inDemoInstall

config-style-cli

Package Overview
Dependencies
66
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    config-style-cli

This is a config-style CLI Builder.


Version published
Maintainers
1
Install size
1.18 MB
Created

Readme

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

Last updated on 15 Feb 2021

Did you know?

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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc