New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@fxjs/cli

Package Overview
Dependencies
Maintainers
2
Versions
9
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@fxjs/cli - npm Package Compare versions

Comparing version 0.0.1 to 0.0.2

History.md

6

lib/Cli.js
const Mri = require("mri");
const Utils = require("./utils");
const events_1 = require("events");
const command_1 = require("./command");
const Command_1 = require("./Command");
const ctrl_1 = require("./ctrl");

@@ -23,3 +23,3 @@ function showHelpOnExit(cli) {

function setupTopLevelCmd() {
this.topLevelCommand = new command_1.FCliGlobalCommand(this);
this.topLevelCommand = new Command_1.FCliGlobalCommand(this);
this.topLevelCommand.usage('<command> [options]');

@@ -125,3 +125,3 @@ }

command(raw, description, config) {
const command = new command_1.FCliCommand(raw, description || '', config, this);
const command = new Command_1.FCliCommand(raw, description || '', config, this);
command.topLevelCommand = this.topLevelCommand;

@@ -128,0 +128,0 @@ this.commands.push(command);

{
"name": "@fxjs/cli",
"version": "0.0.1",
"version": "0.0.2",
"description": "",

@@ -5,0 +5,0 @@ "types": "@types/index.d.ts",

[![NPM version](https://img.shields.io/npm/v/@fxjs/cli.svg?style=flat)](https://npmjs.com/package/@fxjs/cli)
[![NPM downloads](https://img.shields.io/npm/dm/@fxjs/cli.svg?style=flat)](https://npmjs.com/package/@fxjs/cli)
[![Build Status](https://travis-ci.org/fxjs-modules/cli.svg)](https://travis-ci.org/fxjs-modules/cli)
[![Build status](https://ci.appveyor.com/api/projects/status/61m8kfc4hg7msuap?svg=true)](https://ci.appveyor.com/project/richardo2016/cli)

@@ -414,3 +416,3 @@ ## Introduction

In fact, I trid to make PR to [cac.js] to make it support fibjs, in a way, it's much better than [commander.js] in **cross-platform**, you would never find and node.js specific API in [cac.js]! As a contrast, `require('child_process')` is just writeen in [commander.js]'s source code, that made it difficult running [commender.js] in fibjs.
In fact, I trid to make PR to [cac.js] to make it support fibjs, in a way, it's much better than [commander.js] in **cross-platform**, you would never find and node.js specific API in [cac.js]! As a contrast, `require('child_process')` is just writeen in [commander.js]'s source code, that made it difficult running [commander.js] in fibjs.

@@ -417,0 +419,0 @@ But there's some typically better APIs in fibjs that cac.js cannot use --- if do so, [cac.js]'s source code would contains many fibjs-only codes, useless for node.js/deno, that would mutilate elegant structure of [cac.js]

SocketSocket SOC 2 Logo

Product

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

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc