mirror of
https://github.com/chirpstack/chirpstack.git
synced 2025-04-08 03:44:19 +00:00
Rename to import_legacy_lorawan_devices_repository.
The lorawan-devices repository structure is going to change and the latest revisions no longer contain a LICENSE file. This does mean that the latest data can't be imported and we will be missing newly added devices and potential bugfixes. However, it does provide time to work on a better solution. As requested, TTN and The Things Network is no longer used in the naming and description. Closes #61.
This commit is contained in:
parent
dda9d3ffac
commit
364a4ac48c
@ -1,4 +1,4 @@
|
||||
pub mod configfile;
|
||||
pub mod import_ttn_lorawan_devices;
|
||||
pub mod import_legacy_lorawan_devices_repository;
|
||||
pub mod print_ds;
|
||||
pub mod root;
|
||||
|
@ -66,8 +66,8 @@ enum Commands {
|
||||
dev_eui: String,
|
||||
},
|
||||
|
||||
/// Import TheThingsNetwork LoRaWAN devices repository
|
||||
ImportTtnLorawanDevices {
|
||||
/// Import legacy lorawan-devices repository.
|
||||
ImportLegacyLorawanDevicesRepository {
|
||||
/// Path to repository root.
|
||||
#[arg(short, long, value_name = "DIR")]
|
||||
dir: String,
|
||||
@ -102,8 +102,8 @@ async fn main() -> Result<()> {
|
||||
process::exit(0);
|
||||
}
|
||||
|
||||
if let Some(Commands::ImportTtnLorawanDevices { dir }) = &cli.command {
|
||||
cmd::import_ttn_lorawan_devices::run(Path::new(&dir))
|
||||
if let Some(Commands::ImportLegacyLorawanDevicesRepository { dir }) = &cli.command {
|
||||
cmd::import_legacy_lorawan_devices_repository::run(Path::new(&dir))
|
||||
.await
|
||||
.unwrap();
|
||||
process::exit(0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user