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

feat: add --license and --project-version option to pdm init #2978

Conversation

o-moe
Copy link
Contributor

@o-moe o-moe commented Jun 26, 2024

Pull Request Checklist

  • A news fragment is added in news/ describing what is new.
  • Test cases added for changed code.

Describe what you have changed in this PR.

Since license and project's version are both not taken from a given template (pdm's built in template mechanism), I propose to add them as CLI options to control and streamline them during init - especially in automated scenarios with --non-interactive

I did not adjust the documentation since the documentation does not mention the other options very detailed other than referring to the CLI reference.

@o-moe o-moe changed the title Add --license and --project-version option to pdm init feat: add --license and --project-version option to pdm init Jun 26, 2024
@o-moe o-moe marked this pull request as ready for review June 26, 2024 19:51
@frostming frostming merged commit da9b505 into pdm-project:main Jun 27, 2024
21 of 22 checks passed
@frostming
Copy link
Collaborator

LGTM

@o-moe o-moe deleted the feature/add_more_options_to_control_default_values_for_init branch June 27, 2024 05:43
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