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

Support overriding ensureCorrectName (e.g. support LICENSE.md instead of LICENSE) #101

Open
titanism opened this issue Oct 27, 2023 · 2 comments
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@titanism
Copy link

Can we please have a feature that lets us turn off this error if the file extension is present, e.g. .md?

desiredPath := filepath.Join(dir, "LICENSE")

@CalebAlbers
Copy link
Member

Hey @titanism - I can understand the use case here. How would you like to see it implemented? Would you prefer something in the .copywrite.hcl config, or strictly a CLI flag?

Do you see it as a toggle, or do think there would be preference for being able to specify what the license file path/name should be? Just thinking through the ergonomics there.

@CalebAlbers CalebAlbers added enhancement New feature or request good first issue Good for newcomers labels Oct 31, 2023
@titanism
Copy link
Author

I think having both CLI and config would be great, the CLI flag overriding config of course if present.

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

No branches or pull requests

2 participants