Skip to content
This repository was archived by the owner on Feb 5, 2025. It is now read-only.

Commit b26ff74

Browse files
author
Satana Charuwichitratana
authored
Merge pull request #45 from intocode-io/things-get-product
things get:product
2 parents aaeb105 + 3f706d9 commit b26ff74

15 files changed

+390
-13
lines changed

.prettierrc

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
{
2+
"singleQuote": true,
3+
"tabWidth": 2,
4+
"trailingComma": "none"
5+
}

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@
66
- `things add:trial`
77
- `things remove:trial`
88
- `things get:device` Get device information by device ID and user ID
9+
- `things get:product` Specify the device ID, and acquire the product ID and PSDI
910

1011
## [1.0.0]
1112
### Added

README.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -196,6 +196,12 @@ things remove:trial
196196
things get:device
197197
```
198198

199+
### Specify the device ID, and acquire the product ID and PSDI
200+
201+
```
202+
things get:product
203+
```
204+
199205
## Comprehensive usage
200206

201207
We provide comprehensive usage of each command / operation / option with CLI. Simply run a command with/without operation and follow by `--help` option. For example,

bin/commands/things-command.js

Lines changed: 13 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/commands/things-command.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

bin/operations/things-get-product-operation.js

Lines changed: 68 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)