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

Automatically detect ubrn.config.yaml #176

Open
kraenhansen opened this issue Dec 7, 2024 · 2 comments
Open

Automatically detect ubrn.config.yaml #176

kraenhansen opened this issue Dec 7, 2024 · 2 comments
Labels
good first issue Good for newcomers

Comments

@kraenhansen
Copy link
Contributor

I don't expect developers to have more than one config per package. While I understand it's expected for developers to add calls of the CLI to their package.json "scripts", it would be neat if the CLI found the configuration automagically, instead of having to pass it on every invocation.

@jhugman jhugman added the good first issue Good for newcomers label Dec 7, 2024
@jhugman
Copy link
Owner

jhugman commented Dec 7, 2024

This is a great idea. Do you think it should be as simple as adding a default value to the --config option? or something more complicated?

@kraenhansen
Copy link
Contributor Author

default value to the --config option

  • If both the ./ubrn.config.yaml file and --config paramater is missing: I'd expect an error message asking me to provide either the file or the path of a config file elsewhere.
  • If I'm explicitly providing a --config however: I'd expect that to error with a clear message telling me the path of the missing file (so I can understand where it's looking at).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants