poetry icon indicating copy to clipboard operation
poetry copied to clipboard

Add `package-mode` option to `init` and `new` commands

Open rHuggler opened this issue 1 year ago • 2 comments

Pull Request Check List

Resolves: #discussion-6739305

  • [x] Added tests for changed code.
  • [x] Updated documentation for changed code.

This PR adds a --package-mode option (defaults to "true") to both init and new commands. When false is passed, the project will be initialised in non-package mode.

rHuggler avatar Aug 12 '24 23:08 rHuggler

Per the linked discussion, I'd expect that when in non-package mode initialisation would skip the README - and also the version, and all the other fields that are not needed in non-package mode.

dimbleby avatar Aug 13 '24 07:08 dimbleby

I'll work on it

rHuggler avatar Aug 13 '24 12:08 rHuggler