lorawan-stack icon indicating copy to clipboard operation
lorawan-stack copied to clipboard

Generate CLI Configuration from the console

Open KrishnaIyer opened this issue 1 year ago • 3 comments

Summary

Generate CLI Configuration from the console

Current Situation

We currently go into the documentation and generate the first file. For subsequent clusters, we just make copies of the yaml file locally and replace the server address.

Why do we need this? Who uses it, and when?

This would be great to quickly generate the ttn-lw-cli.yml config directly from the console. The console already has the required base-domain and the component addresses.

Proposed Implementation

  • Have a button to generate a CLI config, maybe as part of a separate developer page.
  • Option to disable telemetry (Sets --telemetry.enable to false).

Contributing

  • [ ] I can help by doing more research.
  • [ ] I can help by implementing the feature after the proposal above is approved.
  • [X] I can help by testing the feature before it's released.

Code of Conduct

KrishnaIyer avatar Nov 09 '23 13:11 KrishnaIyer

Phase 3 of https://github.com/TheThingsIndustries/product-management/issues/29

KrishnaIyer avatar Nov 09 '23 13:11 KrishnaIyer

We also have ttn-lw-cli use in order to generate the configuration file - is that slower than clicking the button in the Console and moving the file to the right location ?

adriansmares avatar Nov 15 '23 04:11 adriansmares

That's a good first step for sure. This isn't well documented. I'll pick that up first.

KrishnaIyer avatar Nov 20 '23 15:11 KrishnaIyer