Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Generate CLI Configuration from the console #6698

Open
2 of 4 tasks
KrishnaIyer opened this issue Nov 9, 2023 · 3 comments
Open
2 of 4 tasks

Generate CLI Configuration from the console #6698

KrishnaIyer opened this issue Nov 9, 2023 · 3 comments
Assignees
Labels
blocked This can't continue until another issue or pull request is done c/console This is related to the Console needs/ux This needs UX design / approval

Comments

@KrishnaIyer
Copy link
Member

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.
  • I can help by testing the feature before it's released.

Code of Conduct

@KrishnaIyer KrishnaIyer added the c/console This is related to the Console label Nov 9, 2023
@KrishnaIyer KrishnaIyer added blocked This can't continue until another issue or pull request is done needs/ux This needs UX design / approval labels Nov 9, 2023
@github-actions github-actions bot added the needs/triage We still need to triage this label Nov 9, 2023
@KrishnaIyer KrishnaIyer removed the needs/triage We still need to triage this label Nov 9, 2023
@KrishnaIyer
Copy link
Member Author

@adriansmares
Copy link
Contributor

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 ?

@KrishnaIyer
Copy link
Member Author

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocked This can't continue until another issue or pull request is done c/console This is related to the Console needs/ux This needs UX design / approval
Projects
None yet
Development

No branches or pull requests

3 participants