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

Feature: Specifying multiple or no package directories for monas init #15

Merged
merged 3 commits into from
Oct 18, 2023

Conversation

HuM4NoiD
Copy link
Contributor

This includes the ability to control package directories when using monas init.
Two new options are available for monas init:

  • -d/--default-package-dir: specify one or more package dirs, default value is packages
    $ monas init -d packagedir1 --default-package-dir packagedir2
    monas Creating pyproject.toml
    monas Creating packagedir1
    monas Creating packagedir2
    monas Creating project files
    
  • -n/--no-package-dir: this will not add any package directories, and overrides behaviour of -d
    $ monas init -n
    monas Creating pyproject.toml
    monas Creating project files
    

*,
version: str,
python_version: str,
default_package_dir: list[str],
Copy link
Owner

Choose a reason for hiding this comment

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

Missing import: from __future__ import annotations

@frostming frostming merged commit a504c05 into frostming:main Oct 18, 2023
12 checks passed
HuM4NoiD added a commit to HuM4NoiD/monas that referenced this pull request Oct 18, 2023
@HuM4NoiD
Copy link
Contributor Author

I missed the news entry commit by a hair

@frostming
Copy link
Owner

frostming commented Oct 18, 2023

I missed the news entry commit by a hair

Oh, the news entry isn't necessary, we no longer read them.

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