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

pkg/cli: only allow one default plugin per project version #1542

Commits on Jun 1, 2020

  1. A CLI's default plugins now contain only one plugin per project

    version, and the Option returned by WithDefaultPlugins will return
    an error if multiple are found. The one-to-one mapping disambiguates
    which plugin should be run when no plugin key is passed via 'layout'
    or '--plugins'.
    
    pkg/cli: change the type of cli.defaultPluginsFromOptions such that
    it maps one project version to one plugin.
    estroz committed Jun 1, 2020
    Configuration menu
    Copy the full SHA
    2f47761 View commit details
    Browse the repository at this point in the history