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

Add support of the CLI for configuration #246

Open
2 tasks done
pivoshenko opened this issue May 10, 2024 · 1 comment
Open
2 tasks done

Add support of the CLI for configuration #246

pivoshenko opened this issue May 10, 2024 · 1 comment
Assignees
Labels
priority: low Indicates low priority, unlikely to be done unless it becomes important to more people status: blocked Indicates an issue that is blocked by another issue or external requirement status: help wanted Indicates that a maintainer wants help on an issue or pull request type: enhancement Indicates new feature requests

Comments

@pivoshenko
Copy link
Owner

pivoshenko commented May 10, 2024

  • I have searched the issues of this repository and believe that this is not a duplicate.
  • I have searched the documentation and believe that my question is not covered.

Use CLI to load configuration as an alternative to env variables or pyproject.toml

poetry run --dotenv-location=".env.dev" <command>

poetry run --dotenv-ignore <command>
--dotenv-location <string/path>

--dotenv-ignore <bool> false
@pivoshenko
Copy link
Owner Author

It looks like with the current underlying logic of poetry/cleo implementation of such a feature could be problematic and require a lot of additional effort. I will keep looking into it but with a lower priority 🐱

@pivoshenko pivoshenko added priority: low Indicates low priority, unlikely to be done unless it becomes important to more people status: blocked Indicates an issue that is blocked by another issue or external requirement status: help wanted Indicates that a maintainer wants help on an issue or pull request type: enhancement Indicates new feature requests labels Jun 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority: low Indicates low priority, unlikely to be done unless it becomes important to more people status: blocked Indicates an issue that is blocked by another issue or external requirement status: help wanted Indicates that a maintainer wants help on an issue or pull request type: enhancement Indicates new feature requests
Projects
None yet
Development

No branches or pull requests

1 participant