imperative
imperative copied to clipboard
Imperative CLI Framework
Command definitions to imperative which contain `#` may be treated as comments in PowerShell. Perhaps we should detect special characters (e.g. `#`) in command definitions and throw errors to disallow...
Again similar to #645. However, both a `zowe.config.json` and `zowe.schema.json` exist. However, if `zowe.config.json` specifies a default that doesn't exist, you get an error that the schema failed to load....
``` const mergedArgs = profInfo.mergeArgsForProfile(profAttrs, { getSecureVals: true }); for (const arg of mergedArgs.knownArgs) { profile[arg.argName] = arg.argValue; } console.log(mergedArgs.missingArgs); ``` Yields: ``` 0:{argName: 'user', dataType: 'string', argValue: undefined, argLoc:...
Running the profile load APIs in this sequence: ``` const profInfo = new ProfileInfo("zowe", { requireKeytar: () => getNodeModule("keytar")! }); ... const profAttrs = profInfo.getDefaultProfile(profileType); ... const mergedArgs = profInfo.mergeArgsForProfile(profAttrs,...
This may help with readability of the example.
Command handlers are lazy loaded; however, in daemon mode, it might be nice if we could pre-load all of the command handlers for users that have slow file systems. At...
#627 has a small bug where comment priority is on the new config that is being merged in. JSONC does not provide a way to merge comments around identical JSON...
As the name of this issue indicates, the `stdout` and `stderr` buffers in `CommandResponse` are never emptied when data is written to the console. This underlying issue was the cause...
For the ongoing work on the Zowe profile simplification, there is the notion of Global, Project (or team?) and User config files. It would be good to document what would...
I am using RestClient.getExpectJson and getting this back: ``` **Command Error: The get request appeared to succeed, but the response was not in the expected format: Unexpected end of JSON...