import { RedspotParamDefinitions } from '../../../types' ; import * as types from './argumentTypes' ; export const REDSPOT_PARAM_DEFINITIONS = { network : { name : 'network' , defaultValue : undefined , description : 'The network to connect to.' , type : types . string , isOptional : true , isFlag : false , isVariadic : false } , showStackTraces : { name : 'showStackTraces' , defaultValue : false , description : 'Show stack traces.' , type : types . boolean , isFlag : true , isOptional : true , isVariadic : false } , version : { name : 'version' , defaultValue : false , description : "Shows redspot's version." , type : types . boolean , isFlag : true , isOptional : true , isVariadic : false } , help : { name : 'help' , defaultValue : false , description : "Shows this message, or a task's help if its name is provided" , type : types . boolean , isFlag : true , isOptional : true , isVariadic : false } , config : { name : 'config' , defaultValue : undefined , description : 'A Redspot config file.' , type : types . inputFile , isFlag : false , isOptional : true , isVariadic : false } , verbose : { name : 'verbose' , defaultValue : false , description : 'Enables Redspot verbose logging' , type : types . boolean , isFlag : true , isOptional : true , isVariadic : false } , release : { name : 'release' , defaultValue : false , description : 'Enables optimised wasm binary' , type : types . boolean , isFlag : true , isOptional : true , isVariadic : false } , logLevel : { name : 'logLevel' , defaultValue : '2' , description : 'Set log levels 1-5' , type : types . string , isFlag : false , isOptional : true , isVariadic : false } , maxMemory : { name : 'maxMemory' , defaultValue : undefined , description : 'The maximum amount of memory that Redspot can use.' , type : types . int , isOptional : true , isFlag : false , isVariadic : false } , tsconfig : { name : 'tsconfig' , defaultValue : undefined , description : 'Reserved redspot argument -- Has no effect.' , type : types . string , isOptional : true , isFlag : false , isVariadic : false } } ;