You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

cli-nano

Package Overview
Dependencies
Maintainers
1
Versions
22
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

cli-nano - npm Package Compare versions

Comparing version

to
1.0.2

6

dist/index.js

@@ -245,3 +245,3 @@ import { camelToKebab, kebabToCamel, padString } from './utils.js';

desc = desc.padEnd(65); // Always pad to 65 chars for alignment
console.log(` ${arg.name.padEnd(20)}${desc}[${arg.type || 'string'}]`);
console.log(` ${arg.name.padEnd(20)}${desc} [${arg.type || 'string'}]`);
});

@@ -259,5 +259,5 @@ console.log('\nOptions:');

console.log('\nDefault options:');
console.log(`${padString(' -h, --help', 21)} ${padString('Show help', 64)} [boolean]`);
console.log(`${padString(' -h, --help', 21)} ${padString('Show help', 65)} [boolean]`);
if (version) {
console.log(`${padString(' -v, --version', 21)} ${padString('Show version number', 64)} [boolean]`);
console.log(`${padString(' -v, --version', 21)} ${padString('Show version number', 65)} [boolean]`);
}

@@ -264,0 +264,0 @@ console.log('\n');

{
"name": "cli-nano",
"version": "1.0.1",
"version": "1.0.2",
"description": "Mini command-line tool similar to `yargs` or `parseArgs` from Node.js that accepts positional arguments, flags and options.",

@@ -5,0 +5,0 @@ "type": "module",

@@ -259,3 +259,3 @@ import type { ArgumentOptions, Config } from './interfaces.js';

desc = desc.padEnd(65); // Always pad to 65 chars for alignment
console.log(` ${arg.name.padEnd(20)}${desc}[${arg.type || 'string'}]`);
console.log(` ${arg.name.padEnd(20)}${desc} [${arg.type || 'string'}]`);
});

@@ -275,7 +275,7 @@

console.log('\nDefault options:');
console.log(`${padString(' -h, --help', 21)} ${padString('Show help', 64)} [boolean]`);
console.log(`${padString(' -h, --help', 21)} ${padString('Show help', 65)} [boolean]`);
if (version) {
console.log(`${padString(' -v, --version', 21)} ${padString('Show version number', 64)} [boolean]`);
console.log(`${padString(' -v, --version', 21)} ${padString('Show version number', 65)} [boolean]`);
}
console.log('\n');
}

Sorry, the diff of this file is not supported yet