diff --git a/README.md b/README.md index 3bf387d..ba05fc6 100644 --- a/README.md +++ b/README.md @@ -41,11 +41,11 @@ git clone git@github.com: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. diff --git a/command-snapshot.json b/command-snapshot.json index e017eed..176d7c7 100644 --- a/command-snapshot.json +++ b/command-snapshot.json @@ -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" - } -] \ No newline at end of file + { + "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" + } +] diff --git a/package.json b/package.json index 4456ee2..e59f37b 100644 --- a/package.json +++ b/package.json @@ -9,8 +9,8 @@ "@inquirer/input": "^4.0.1", "@inquirer/select": "^4.0.1", "@oclif/core": "^4", + "@salesforce/agents": "^0.1.3", "@oclif/multi-stage-output": "^0.7.12", - "@salesforce/agents": "^0.1.2", "@salesforce/core": "^8.5.2", "@salesforce/kit": "^3.2.1", "@salesforce/sf-plugins-core": "^12", diff --git a/yarn.lock b/yarn.lock index af0b840..7e73f2a 100644 --- a/yarn.lock +++ b/yarn.lock @@ -1370,10 +1370,10 @@ resolved "https://registry.yarnpkg.com/@pkgjs/parseargs/-/parseargs-0.11.0.tgz#a77ea742fab25775145434eb1d2328cf5013ac33" integrity sha512-+1VkjdD0QBLPodGrJUeqarH8VAIvQODIbwh9XpP5Syisf7YoQgsJKPNFoqqLQlu+VQ/tVSshMR6loPMn8U+dPg== -"@salesforce/agents@^0.1.2": - version "0.1.2" - resolved "https://registry.yarnpkg.com/@salesforce/agents/-/agents-0.1.2.tgz#eeadf5fb7fea42f241cc4d0c4bfc30d3dfca7fb5" - integrity sha512-Yj2UH9xr85a8KwIcyv399DzoXY3I5M0jtcP9nwzz6jj25YqYhqRCjbU2+vmu6C0ggQOztOzO9qv/tCW+ujWPdQ== +"@salesforce/agents@^0.1.3": + version "0.1.3" + resolved "https://registry.yarnpkg.com/@salesforce/agents/-/agents-0.1.3.tgz#bd57d65e7708646efd082e22a40082e1b7049cdf" + integrity sha512-bvpSbGO0w7ZHwWX+GrLbWFBluEfJ6oLfalBSEry+O4ENZIDwu2mnw9xbLX0twwz02tsJyB8XibClSZZRL0RB0w== dependencies: "@salesforce/core" "^8.5.2" "@salesforce/kit" "^3.2.3"