Skip to content

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

Open

Description

@titanism

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")

Activity

  1. CalebAlbers commented on Oct 31, 2023

    @CalebAlbers
    Contributor

    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.

  2. added
    enhancement
    good first issue
    on Oct 31, 2023
  3. titanism commented on Oct 31, 2023

    @titanism
    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

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementgood first issue

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions