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

Allow configuration of pull path #215

Closed
wants to merge 1 commit into from

Conversation

malcolmholmes
Copy link
Collaborator

At present, Grizzly hardwires the directories to which it writes files when pulling. For some use-cases, this means that every file must be introspected in order to establish its purpose. If, instead, it were possible to include additional information from the resource (likely a dashboard) into the filename, decisions could be made without requiring introspection of the file.

This PR adds two features:

  • grr pull -f "{{.metadata.folder}}-{{.metadata.name}}.yaml" formatting of the path that pull writes to
  • adds a .metadata.annotations.slug annotation to dashboards that is derived from the title. This can make the meaning of the file more evident.

@CLAassistant
Copy link

CLAassistant commented Jun 15, 2022

CLA assistant check
All committers have signed the CLA.

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.

None yet

3 participants