Socket
Socket
Sign inDemoInstall

cowmand

Package Overview
Dependencies
4
Maintainers
1
Versions
46
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 0.2.1 to 0.2.2

example/basic/guardLogin.d.ts

2

dist/Commands/Layer.d.ts

@@ -17,3 +17,3 @@ import { Terminal } from '../Terminal';

export declare type CommandFunction = (context: Context, terminal: Terminal, nextFunction: NextFunction) => void | Promise<void>;
export declare type CommandErrorFunction = (error: Error, context: Context, terminal: Terminal, nextFunction: NextFunctionError) => void;
export declare type CommandErrorFunction = (context: Context, terminal: Terminal, nextFunction: NextFunctionError, error: Error) => void;
export interface OptionsLayer {

@@ -20,0 +20,0 @@ subCommands: string[];

@@ -47,6 +47,6 @@ "use strict";

},
end() {
process.exit(0);
end(status = 0) {
process.exit(status);
}
};
exports.terminal = terminal;
{
"name": "cowmand",
"version": "0.2.1",
"version": "0.2.2",
"description": "Fast helper to create a cli",

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

@@ -67,2 +67,5 @@ ![Cowmand][cowmand-logo]

## Docs
**Terminal** [Docs](/docs/Terminal.md)
## New Features

@@ -69,0 +72,0 @@

SocketSocket SOC 2 Logo

Product

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

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc