TheThingsNetwork / lorawan-stack-migrate

Migrate devices from other LoRaWAN Network Servers to The Things Stack
Apache License 2.0
8 stars 3 forks source link

CLI improvements proposal: subcommands #71

Closed happyRip closed 1 year ago

happyRip commented 1 year ago

Summary

Ref #56 https://github.com/TheThingsNetwork/lorawan-stack-migrate/pull/65#issuecomment-1448454632

This PR features changes from #70

Changes

Testing

Use ttnv3 command to export devices instead of relying on the --source flag:

go run cmd/ttn-lw-migrate/main.go ttnv3 devices --help
Regressions

...

Notes for Reviewers

ttnv2 and chirpstack commands have been skipped for the initial iteration since they should be twin to ttnv3 anyway.

Checklist