Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -50,11 +50,11 @@ yarn install
yarn build
```

To use your plugin, run using the local `./bin/run` or `./bin/run.cmd` file.
To use your plugin, run using the local `./bin/dev` or `./bin/dev.cmd` file.

```bash
# Run using local run file.
./bin/run force:limits
./bin/dev force:limits
```

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.
Expand Down
4 changes: 1 addition & 3 deletions bin/run
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
#!/usr/bin/env node

require('@oclif/core').run()
.then(require('@oclif/core/flush'))
.catch(require('@oclif/core/handle'))
require('@oclif/core').run().then(require('@oclif/core/flush')).catch(require('@oclif/core/handle'));
5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"tslib": "^2"
},
"devDependencies": {
"@oclif/plugin-command-snapshot": "^3",
"@oclif/plugin-command-snapshot": "^3.2.11",
"@salesforce/cli-plugins-testkit": "^3.2.9",
"@salesforce/dev-config": "^3.0.0",
"@salesforce/dev-scripts": "^3.1.0",
Expand All @@ -34,6 +34,7 @@
"husky": "^7.0.4",
"mocha": "^9.1.3",
"nyc": "^15.1.0",
"oclif": "^3.2.28",
"prettier": "^2.7.1",
"pretty-quick": "^3.1.0",
"shx": "0.3.4",
Expand Down Expand Up @@ -110,4 +111,4 @@
"publishConfig": {
"access": "public"
}
}
}
Loading