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

Module aware generator #1436

Merged
merged 8 commits into from Nov 3, 2021
Merged

Module aware generator #1436

merged 8 commits into from Nov 3, 2021

Commits on Jul 1, 2021

  1. Configuration menu
    Copy the full SHA
    d225ba8 View commit details
    Browse the repository at this point in the history
  2. Change generator to require opting in to viper.

    Cobra and Viper are great together, but it's not uncommon to use them apart.
    New Cobra users don't know better and including Viper by default adds complexity to the skeleton.
    spf13 committed Jul 1, 2021
    Configuration menu
    Copy the full SHA
    0243fe0 View commit details
    Browse the repository at this point in the history
  3. Change generator default license to none

    It's questionable that a default license makes any sense from a legal perspective.
    If the tool created the license without the user choosing it, then it may not even be applicable.
    Best to let the user choose their license with intent.
    spf13 committed Jul 1, 2021
    Configuration menu
    Copy the full SHA
    0463683 View commit details
    Browse the repository at this point in the history
  4. Cobra generator now works within Go modules

    Pretty major change in behavior, but with modules a change is needed.
    Now cobra can initialize and add from within any Go module.
    The experience is simplified and streamlined, but requires `go mod init` to happen first.
    spf13 committed Jul 1, 2021
    Configuration menu
    Copy the full SHA
    25ac916 View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    d7b9dc5 View commit details
    Browse the repository at this point in the history

Commits on Jul 2, 2021

  1. Updating generator documentation and links

    Merging the updated documentation from the user_guide into the cobra/README.md.
    Adding links as appropriate to both guides.
    spf13 committed Jul 2, 2021
    Configuration menu
    Copy the full SHA
    b4ab663 View commit details
    Browse the repository at this point in the history
  2. Simplifying goGet function

    spf13 committed Jul 2, 2021
    Configuration menu
    Copy the full SHA
    31a1f21 View commit details
    Browse the repository at this point in the history

Commits on Nov 2, 2021

  1. Configuration menu
    Copy the full SHA
    b33fae1 View commit details
    Browse the repository at this point in the history