New Research: Supply Chain Attack on Axios Pulls Malicious Dependency from npm.Details →
Socket
Book a DemoSign in
Socket

@kapeta/blockctl-command

Package Overview
Dependencies
Maintainers
3
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kapeta/blockctl-command

SDK for making commands for the kapeta CLI utility

latest
Source
npmnpm
Version
0.0.9
Version published
Weekly downloads
2
100%
Maintainers
3
Weekly downloads
 
Created
Source

Command SDK for Kapeta command line utility

Provides a simple wrapper around the commander module to ensure consistency in the kapeta CLI

Example use:

const KapetaCommand = require('@kapeta/blockctl-command');
const packageData = require('./package');

// Create the subsection command object.
// This is made available through "blockctl mysubsection"
const command = new KapetaCommand('mysubsection', packageData.version);

// Add handler for sub command - See commander docs for more
// $: blockctl subsection subcommand
command.program()
    .command('subcommand')  
    .action(() => doSomething());
                
//Tell the kapeta command to parse arguments and run actions
command.start();

Keywords

kapeta

FAQs

Package last updated on 29 Mar 2023

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