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

Pass --config argument explicitly #777

Closed
bdovaz opened this issue Dec 27, 2022 · 0 comments · Fixed by #794
Closed

Pass --config argument explicitly #777

bdovaz opened this issue Dec 27, 2022 · 0 comments · Fixed by #794
Milestone

Comments

@bdovaz
Copy link

bdovaz commented Dec 27, 2022

@belav I see that through the CLI you cannot pass the path to the configuration file and it resolves it recursively upwards:

https://github.com/belav/csharpier/blob/0.21.0/Src/CSharpier.Cli/ConfigurationFileOptions.cs#L64

In case we know the concrete path, it would make sense to allow to pass this path to optimize the command execution.

@belav belav added this to the 0.22.0 milestone Jan 4, 2023
belav added a commit that referenced this issue Jan 9, 2023
belav added a commit that referenced this issue Jan 14, 2023
@belav belav modified the milestones: 0.22.0, 0.23.0 Jan 15, 2023
belav added a commit that referenced this issue Jan 28, 2023
* Support for passing a config file to csharpier

closes #777

* Use path supplied instead of looking for file in directory of path supplied

* formatting

* maybe this will work

* Update CLI.md

---------

Co-authored-by: Lasath Fernando <devel@lasath.org>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants