Socket
Socket
Sign inDemoInstall

cowmand

Package Overview
Dependencies
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cowmand - npm Package Compare versions

Comparing version 0.2.0 to 0.2.1

dist/Terminal/ask.d.ts

2

dist/Commands/Layer.d.ts

@@ -1,2 +0,2 @@

import { Terminal } from '../terminal';
import { Terminal } from '../Terminal';
export interface Params {

@@ -3,0 +3,0 @@ command: string;

declare function createProgram(): import("./program").Program;
export { Context, NextFunction } from './Commands/Layer';
export { Terminal } from './terminal';
export { Terminal } from './Terminal';
export { createProgram };
export default createProgram;

@@ -8,3 +8,3 @@ "use strict";

const debug_1 = __importDefault(require("debug"));
const terminal_1 = require("./terminal");
const Terminal_1 = require("./Terminal");
const Layer_1 = require("./Commands/Layer");

@@ -51,5 +51,5 @@ const debug = (0, debug_1.default)('cowmand:program');

if (error && layerStack.handleError) {
layerStack.handleError(error, { session: this.session, params: this.params }, terminal_1.terminal, next);
layerStack.handleError(error, { session: this.session, params: this.params }, Terminal_1.terminal, next);
}
layerStack.handle({ session: this.session, params: this.params }, terminal_1.terminal, next);
layerStack.handle({ session: this.session, params: this.params }, Terminal_1.terminal, next);
// TODO: Use Layers of error to validate when has a error.

@@ -56,0 +56,0 @@ return;

{
"name": "cowmand",
"version": "0.2.0",
"version": "0.2.1",
"description": "Fast helper to create a cli",

@@ -5,0 +5,0 @@ "tags": [

@@ -73,3 +73,3 @@ ![Cowmand][cowmand-logo]

- [x] Terminal - Add question on terminal
- [ ] Terminal - Add option to hide a password
- [x] Terminal - Add option to hide a password

@@ -76,0 +76,0 @@ ****

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