Skip to content

Add dashboard extract command #47

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

Merged
merged 5 commits into from
Oct 12, 2021
Merged

Add dashboard extract command #47

merged 5 commits into from
Oct 12, 2021

Conversation

polldo
Copy link
Contributor

@polldo polldo commented Oct 12, 2021

Motivation

arduino-cloud-cli should allow users to extract templates from dashboards

Change description

command:
$ arduino-cloud-cli dashboard extract --id <dashboardID> --outfile <templateFile> --format <yaml|json>

Additional Notes

Reviewer checklist

  • PR address a single concern.
  • PR title and description are properly filled.
  • Changes will be merged in main.
  • Changes are covered by tests.
  • Logging is meaningful in case of troubleshooting.
  • History is clean, commit messages are meaningful (see CONTRIBUTING.md) and are well formatted.

@polldo polldo requested a review from eclipse1985 October 12, 2021 09:07
@polldo polldo force-pushed the polldo/dashboard-extract branch from c29fbdb to f816253 Compare October 12, 2021 12:37
@polldo polldo force-pushed the polldo/dashboard-extract branch 2 times, most recently from 0a45c51 to d9566d2 Compare October 12, 2021 14:23
@polldo polldo merged commit b44033b into main Oct 12, 2021
@polldo polldo deleted the polldo/dashboard-extract branch October 12, 2021 14:26
polldo pushed a commit that referenced this pull request Sep 2, 2022
Add a command to extract templates from dashboards:
'$ arduino-cloud-cli dashboard extract --id <dashboardID> --outfile <templateFile> --format <yaml|json>'

* Add dashboard extract command

* Include dashboard variables only if any var is present

* Add widget options filter

* Include widgets only if not empty

* Update readme
polldo pushed a commit that referenced this pull request Sep 2, 2022
Add a command to extract templates from dashboards:
'$ arduino-cloud-cli dashboard extract --id <dashboardID> --outfile <templateFile> --format <yaml|json>'

* Add dashboard extract command

* Include dashboard variables only if any var is present

* Add widget options filter

* Include widgets only if not empty

* Update readme
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants