-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #18 from salesforcecli/ew/agent-library
Add agents library
- Loading branch information
Showing
4 changed files
with
52 additions
and
90 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -41,11 +41,11 @@ git clone [email protected]:salesforcecli/plugin-agent | |
yarn && yarn build | ||
``` | ||
|
||
To use your plugin, run using the local `./bin/dev` or `./bin/dev.cmd` file. | ||
To use your plugin, run using the local `./bin/dev.js` or `./bin/dev.cmd` file. | ||
|
||
```bash | ||
# Run using local run file. | ||
./bin/dev agent | ||
./bin/dev.js agent | ||
``` | ||
|
||
There should be no differences when running via the Salesforce CLI or using the local run file. However, it can be useful to link the plugin to do some additional testing or run your commands from anywhere on your machine. | ||
|
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 |
---|---|---|
@@ -1,84 +1,46 @@ | ||
[ | ||
{ | ||
"alias": [], | ||
"command": "agent:create", | ||
"flagAliases": [], | ||
"flagChars": [ | ||
"f", | ||
"n", | ||
"o" | ||
], | ||
"flags": [ | ||
"api-version", | ||
"flags-dir", | ||
"job-spec", | ||
"json", | ||
"name", | ||
"target-org" | ||
], | ||
"plugin": "@salesforce/plugin-agent" | ||
}, | ||
{ | ||
"alias": [], | ||
"command": "agent:generate:spec", | ||
"flagAliases": [], | ||
"flagChars": [ | ||
"d", | ||
"f", | ||
"o", | ||
"t" | ||
], | ||
"flags": [ | ||
"api-version", | ||
"company-description", | ||
"company-name", | ||
"company-website", | ||
"file-name", | ||
"flags-dir", | ||
"json", | ||
"output-dir", | ||
"role", | ||
"target-org", | ||
"type" | ||
], | ||
"plugin": "@salesforce/plugin-agent" | ||
}, | ||
{ | ||
"alias": [], | ||
"command": "agent:test:cancel", | ||
"flagAliases": [], | ||
"flagChars": [ | ||
"i", | ||
"o", | ||
"r" | ||
], | ||
"flags": [ | ||
"flags-dir", | ||
"job-id", | ||
"json", | ||
"target-org", | ||
"use-most-recent" | ||
], | ||
"plugin": "@salesforce/plugin-agent" | ||
}, | ||
{ | ||
"alias": [], | ||
"command": "agent:test:run", | ||
"flagAliases": [], | ||
"flagChars": [ | ||
"d", | ||
"i", | ||
"o", | ||
"w" | ||
], | ||
"flags": [ | ||
"flags-dir", | ||
"id", | ||
"json", | ||
"output-dir", | ||
"target-org", | ||
"wait" | ||
], | ||
"plugin": "@salesforce/plugin-agent" | ||
} | ||
] | ||
{ | ||
"alias": [], | ||
"command": "agent:create", | ||
"flagAliases": [], | ||
"flagChars": ["f", "n", "o"], | ||
"flags": ["api-version", "flags-dir", "job-spec", "json", "name", "target-org"], | ||
"plugin": "@salesforce/plugin-agent" | ||
}, | ||
{ | ||
"alias": [], | ||
"command": "agent:generate:spec", | ||
"flagAliases": [], | ||
"flagChars": ["d", "f", "o", "t"], | ||
"flags": [ | ||
"api-version", | ||
"company-description", | ||
"company-name", | ||
"company-website", | ||
"file-name", | ||
"flags-dir", | ||
"json", | ||
"output-dir", | ||
"role", | ||
"target-org", | ||
"type" | ||
], | ||
"plugin": "@salesforce/plugin-agent" | ||
}, | ||
{ | ||
"alias": [], | ||
"command": "agent:test:cancel", | ||
"flagAliases": [], | ||
"flagChars": ["i", "o", "r"], | ||
"flags": ["flags-dir", "job-id", "json", "target-org", "use-most-recent"], | ||
"plugin": "@salesforce/plugin-agent" | ||
}, | ||
{ | ||
"alias": [], | ||
"command": "agent:test:run", | ||
"flagAliases": [], | ||
"flagChars": ["d", "i", "o", "w"], | ||
"flags": ["flags-dir", "id", "json", "output-dir", "target-org", "wait"], | ||
"plugin": "@salesforce/plugin-agent" | ||
} | ||
] |
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