@spinajs/cli
Advanced tools
Comparing version 2.0.284 to 2.0.285
@@ -38,3 +38,3 @@ import { CommandOptions } from 'commander'; | ||
*/ | ||
export declare function Argument(name: string, description?: string, defaultValue?: any, parser?: (opt: string) => unknown): (target: object) => void; | ||
export declare function Argument(name: string, required: boolean, description?: string, defaultValue?: any, parser?: (opt: string) => unknown): (target: object) => void; | ||
//# sourceMappingURL=decorators.d.ts.map |
@@ -69,3 +69,3 @@ "use strict"; | ||
*/ | ||
function Argument(name, description, defaultValue, parser) { | ||
function Argument(name, required, description, defaultValue, parser) { | ||
return function (target) { | ||
@@ -76,2 +76,3 @@ const arg = { | ||
defaultValue, | ||
required, | ||
parser, | ||
@@ -78,0 +79,0 @@ }; |
@@ -38,3 +38,3 @@ import { CommandOptions } from 'commander'; | ||
*/ | ||
export declare function Argument(name: string, description?: string, defaultValue?: any, parser?: (opt: string) => unknown): (target: object) => void; | ||
export declare function Argument(name: string, required: boolean, description?: string, defaultValue?: any, parser?: (opt: string) => unknown): (target: object) => void; | ||
//# sourceMappingURL=decorators.d.ts.map |
@@ -64,3 +64,3 @@ import { DI } from '@spinajs/di'; | ||
*/ | ||
export function Argument(name, description, defaultValue, parser) { | ||
export function Argument(name, required, description, defaultValue, parser) { | ||
return function (target) { | ||
@@ -71,2 +71,3 @@ const arg = { | ||
defaultValue, | ||
required, | ||
parser, | ||
@@ -73,0 +74,0 @@ }; |
{ | ||
"name": "@spinajs/cli", | ||
"version": "2.0.284", | ||
"version": "2.0.285", | ||
"description": "SpinaJS command line module", | ||
@@ -45,7 +45,7 @@ "main": "lib/cjs/index.js", | ||
"dependencies": { | ||
"@spinajs/configuration": "^2.0.284", | ||
"@spinajs/di": "^2.0.284", | ||
"@spinajs/exceptions": "^2.0.284", | ||
"@spinajs/log": "^2.0.284", | ||
"@spinajs/reflection": "^2.0.284", | ||
"@spinajs/configuration": "^2.0.285", | ||
"@spinajs/di": "^2.0.285", | ||
"@spinajs/exceptions": "^2.0.285", | ||
"@spinajs/log": "^2.0.285", | ||
"@spinajs/reflection": "^2.0.285", | ||
"commander": "10.0.0", | ||
@@ -52,0 +52,0 @@ "reflect-metadata": "^0.1.13" |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
191049
783
Updated@spinajs/di@^2.0.285
Updated@spinajs/exceptions@^2.0.285
Updated@spinajs/log@^2.0.285
Updated@spinajs/reflection@^2.0.285