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 custom config file path support via -c flag #37

Merged
merged 1 commit into from
Nov 25, 2024

Conversation

ob7
Copy link
Contributor

@ob7 ob7 commented Nov 25, 2024

Optionally specify custom path to config.toml

Add ability to specify a custom configuration file path using the -c/--config flag
instead of always using the default ~/.config/tenere/config.toml path.

Changes:

  • Add -c/--config CLI flag accepting a file path
  • Modify Config::load() to handle custom config paths

Example usage:

tenere -c ~/path/to/custom/config.toml

@pythops
Copy link
Owner

pythops commented Nov 25, 2024

Thanks for the PR 🙏
Looks nice yeah ! GJ 👏

@pythops pythops merged commit 5508d69 into pythops:master Nov 25, 2024
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