Skip to content

Conversation

polldo
Copy link
Contributor

@polldo polldo commented Nov 24, 2021

Motivation

the configuration file should be created in arduino15 directory by default
the config init command should prompt the user to insert client-id and client-secret

Change description

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 review from eclipse1985 and glumia November 24, 2021 17:44
@polldo polldo mentioned this pull request Nov 24, 2021
6 tasks
initCommand.Flags().StringVar(&initFlags.destDir, "dest-dir", ".", "Sets where to save the configuration file.")
initCommand.Flags().BoolVar(&initFlags.overwrite, "overwrite", false, "Overwrite existing config file.")
initCommand.Flags().StringVar(&initFlags.destDir, "dest-dir", "", "Sets where to save the configuration file")
initCommand.Flags().BoolVar(&initFlags.overwrite, "overwrite", false, "Overwrite existing config file")

This comment was marked as resolved.

Paolo Calao and others added 4 commits November 25, 2021 11:55
Co-authored-by: Giuseppe Lumia <g.lumia@outlook.com>
Co-authored-by: Giuseppe Lumia <g.lumia@outlook.com>
Co-authored-by: Giuseppe Lumia <g.lumia@outlook.com>
Copy link
Contributor

@glumia glumia left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm!

@polldo polldo merged commit 86b69d2 into main Nov 26, 2021
@polldo polldo deleted the polldo/global-config branch November 26, 2021 10:12
polldo pushed a commit that referenced this pull request Sep 2, 2022
- use arduino15 directory by default for 'config init'
- 'config init' command prompts the user to insert client-id and client-secret
polldo pushed a commit that referenced this pull request Sep 2, 2022
- use arduino15 directory by default for 'config init'
- 'config init' command prompts the user to insert client-id and client-secret
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.

3 participants