chedder
Version:
62 lines • 1.69 kB
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.options = void 0;
exports.options = {
accountId: {
shortName: "acc",
valueType: "string",
value: "",
helpText: `signer accountId`
},
masterAccount: {
shortName: "ma",
valueType: "string",
value: "",
helpText: `master account`
},
help: {
shortName: "h",
value: false
},
info: {
shortName: "i",
value: false,
helpText: 'show configured contract account, default user accountId'
},
verbose: {
shortName: "v",
helpText: 'Prints out verbose output',
name: "verbose"
},
amount: {
shortName: "am",
valueType: "NEAR",
value: "",
helpText: `attach NEAR tokens to this call. Example: --amount 100N`
},
gas: {
shortName: "g",
valueType: "YOCTOS",
value: "",
helpText: `Gas assgined to the call`
},
networkId: {
shortName: "net",
valueType: "string",
value: "",
helpText: 'NEAR network ID (default is NODE_ENV)'
},
contractName: {
shortName: "c",
valueType: "string",
value: "",
helpText: `Sets default contract account when used with --cliconfig. Otherwise, sets --contractName argument for the near call`
},
cliConfig: {
shortName: "cliconfig",
value: false,
helpText: `config this cli, add --contractName xx and --accountId yy to set default contract accountId and user`
},
};
// # sourceMappingURL=CLIOptions.js.map
//# sourceMappingURL=CLIOptions.js.map