-
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.
feat: initial commit of standalone discovery client
- Loading branch information
0 parents
commit c7c4f5b
Showing
4 changed files
with
1,472 additions
and
0 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 |
---|---|---|
@@ -0,0 +1,2 @@ | ||
dist | ||
node_modules |
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,26 @@ | ||
# discovery-client-standalone | ||
|
||
Standalone version of the Opentrons [Discovery Client CLI][] | ||
|
||
## installation | ||
|
||
1. Download the [latest release][] for your OS | ||
2. (Optional) Copy or symlink the executable into a directory in your `PATH` | ||
|
||
## usage | ||
|
||
This example uses macOS, but replace the executable with whatever file you downloaded. See the [discovery client cli][] documentation for more usage details. | ||
|
||
```shell | ||
# print help and usage | ||
./discovery-client-macos --help | ||
|
||
# browse for all robots | ||
./discovery-client-macos browse | ||
|
||
# find the IP address of a specific robot by its name | ||
./discovery-client-macos find OT2P00000000A00 | ||
``` | ||
|
||
[discovery client cli]: https://github.com/Opentrons/opentrons/tree/edge/discovery-client#cli | ||
[latest release]: https://github.com/Opentrons/discovery-client-standalone/releases/latest |
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,18 @@ | ||
{ | ||
"name": "@opentrons/discovery-client-standalone", | ||
"private": true, | ||
"version": "3.6.5", | ||
"license": "MIT", | ||
"scripts": { | ||
"clean": "rimraf dist", | ||
"predist": "yarn clean", | ||
"dist": "pkg node_modules/@opentrons/discovery-client/bin/index.js --targets node12,linux,macos,win,x64 --output dist/discovery-client${target}" | ||
}, | ||
"dependencies": { | ||
"@opentrons/discovery-client": "3.6.5" | ||
}, | ||
"devDependencies": { | ||
"pkg": "^4.4.9", | ||
"rimraf": "^3.0.2" | ||
} | ||
} |
Oops, something went wrong.