Created
June 14, 2023 09:11
-
-
Save reubenmiller/ce10d331b4ec3ff92adc7697b36f5822 to your computer and use it in GitHub Desktop.
go-c8y-cli examples
This file contains hidden or 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
c8y util repeat 3 | c8y devices create --template "{name: 'device_%04d' % input.index, uuid: _.Hex(24)}" --dry | |
c8y devices list --query "has(uuid)" | c8y identity create --template "{externalId: input.value.uuid, type: 'mytype'}" --dry |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment