-
Notifications
You must be signed in to change notification settings - Fork 25
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: change how oclif manifest gets generated (#88)
@W-8340748@
- Loading branch information
Showing
4 changed files
with
191 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,191 @@ | ||
{ | ||
"version": "0.1.4", | ||
"commands": { | ||
"force:apex:execute": { | ||
"id": "force:apex:execute", | ||
"description": "executes anonymous Apex code\nExecutes one or more lines of anonymous Apex code entered on the command line, or executes the code in a local file.\nIf you don’t run this command from within a Salesforce DX project, —-targetusername is required.\nTo execute your code interactively, run this command with no parameters. At the prompt, enter all your Apex code; press CTRL-D when you're finished. Your code is then executed in a single execute anonymous request.\nFor more information, see \"Anonymous Blocks\" in the Apex Developer Guide.\n\n", | ||
"usage": "<%= command.id %> [-f <filepath>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]", | ||
"pluginName": "@salesforce/plugin-apex", | ||
"pluginType": "core", | ||
"aliases": [], | ||
"examples": [ | ||
"$ sfdx force:apex:execute -u testusername@salesforce.org -f ~/test.apex", | ||
"$ sfdx force:apex:execute -f ~/test.apex", | ||
"$ sfdx force:apex:execute \nStart typing Apex code. Press the Enter key after each line, then press CTRL+D when finished." | ||
], | ||
"flags": { | ||
"json": { | ||
"name": "json", | ||
"type": "boolean", | ||
"description": "format output as json", | ||
"allowNo": false | ||
}, | ||
"loglevel": { | ||
"name": "loglevel", | ||
"type": "option", | ||
"description": "logging level for this command invocation", | ||
"helpValue": "(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)", | ||
"options": [ | ||
"trace", | ||
"debug", | ||
"info", | ||
"warn", | ||
"error", | ||
"fatal", | ||
"TRACE", | ||
"DEBUG", | ||
"INFO", | ||
"WARN", | ||
"ERROR", | ||
"FATAL" | ||
], | ||
"default": "warn" | ||
}, | ||
"targetusername": { | ||
"name": "targetusername", | ||
"type": "option", | ||
"char": "u", | ||
"description": "username or alias for the target org; overrides default target org" | ||
}, | ||
"apiversion": { | ||
"name": "apiversion", | ||
"type": "option", | ||
"description": "override the api version used for api requests made by this command" | ||
}, | ||
"apexcodefile": { | ||
"name": "apexcodefile", | ||
"type": "option", | ||
"char": "f", | ||
"description": "path to a local file that contains Apex code" | ||
} | ||
}, | ||
"args": [] | ||
}, | ||
"force:apex:log:get": { | ||
"id": "force:apex:log:get", | ||
"description": "fetch debug logs\nFetches the specified log or given number of most recent logs from the scratch org. \nTo get the IDs for your debug logs, run \"sfdx force:apex:log:list\". \nUse the --logid parameter to return a specific log. \nUse the --number parameter to return the specified number of recent logs.\nUse the --outputdir parameter to specify the directory to store the logs in.\nExecuting this command without parameters returns the most recent log.", | ||
"usage": "<%= command.id %> [-i <id>] [-n <number>] [-d <string>] [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]", | ||
"pluginName": "@salesforce/plugin-apex", | ||
"pluginType": "core", | ||
"aliases": [], | ||
"examples": [ | ||
"$ sfdx force:apex:log:get -i <log id>", | ||
"$ sfdx force:apex:log:get -i <log id> -u me@my.org", | ||
"$ sfdx force:apex:log:get -n 2 -c", | ||
"$ sfdx force:apex:log:get -d Users/Desktop/logs -n 2" | ||
], | ||
"flags": { | ||
"json": { | ||
"name": "json", | ||
"type": "boolean", | ||
"description": "format output as JSON", | ||
"allowNo": false | ||
}, | ||
"loglevel": { | ||
"name": "loglevel", | ||
"type": "option", | ||
"description": "logging level for this command invocation", | ||
"helpValue": "(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)", | ||
"options": [ | ||
"trace", | ||
"debug", | ||
"info", | ||
"warn", | ||
"error", | ||
"fatal", | ||
"TRACE", | ||
"DEBUG", | ||
"INFO", | ||
"WARN", | ||
"ERROR", | ||
"FATAL" | ||
], | ||
"default": "warn" | ||
}, | ||
"targetusername": { | ||
"name": "targetusername", | ||
"type": "option", | ||
"char": "u", | ||
"description": "username or alias for the target org; overrides default target org" | ||
}, | ||
"apiversion": { | ||
"name": "apiversion", | ||
"type": "option", | ||
"description": "override the api version used for api requests made by this command" | ||
}, | ||
"logid": { | ||
"name": "logid", | ||
"type": "option", | ||
"char": "i", | ||
"description": "id of the log to display" | ||
}, | ||
"number": { | ||
"name": "number", | ||
"type": "option", | ||
"char": "n", | ||
"description": "number of most recent logs to display" | ||
}, | ||
"outputdir": { | ||
"name": "outputdir", | ||
"type": "option", | ||
"char": "d", | ||
"description": "directory for saving the log files" | ||
} | ||
}, | ||
"args": [] | ||
}, | ||
"force:apex:log:list": { | ||
"id": "force:apex:log:list", | ||
"description": "display a list of IDs and general information about debug logs\nRun this command in a project to list the IDs and general information for all debug logs in your default org.\nTo fetch a specific log from your org, obtain the ID from this command's output, then run the “sfdx force:apex:log:get” command.", | ||
"usage": "<%= command.id %> [-u <string>] [--apiversion <string>] [--json] [--loglevel trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL]", | ||
"pluginName": "@salesforce/plugin-apex", | ||
"pluginType": "core", | ||
"aliases": [], | ||
"examples": [ | ||
"$ sfdx force:apex:log:list", | ||
"$ sfdx force:apex:log:list -u me@my.org" | ||
], | ||
"flags": { | ||
"json": { | ||
"name": "json", | ||
"type": "boolean", | ||
"description": "format output as JSON", | ||
"allowNo": false | ||
}, | ||
"loglevel": { | ||
"name": "loglevel", | ||
"type": "option", | ||
"description": "logging level for this command invocation", | ||
"helpValue": "(trace|debug|info|warn|error|fatal|TRACE|DEBUG|INFO|WARN|ERROR|FATAL)", | ||
"options": [ | ||
"trace", | ||
"debug", | ||
"info", | ||
"warn", | ||
"error", | ||
"fatal", | ||
"TRACE", | ||
"DEBUG", | ||
"INFO", | ||
"WARN", | ||
"ERROR", | ||
"FATAL" | ||
], | ||
"default": "warn" | ||
}, | ||
"targetusername": { | ||
"name": "targetusername", | ||
"type": "option", | ||
"char": "u", | ||
"description": "username or alias for the target org; overrides default target org" | ||
}, | ||
"apiversion": { | ||
"name": "apiversion", | ||
"type": "option", | ||
"description": "override the api version used for api requests made by this command" | ||
} | ||
}, | ||
"args": [] | ||
} | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters