Skip to content

Allow generation of the “Generated by this command” comment to be disabled #104

@skitt

Description

@skitt

Requested feature
A way to disable generation of the “Generated by this command” comment.

Why the feature is needed
The comment has already been fixed to drop the path to mockgen, since that isn’t necessarily consistent. The same applies to paths provided as arguments; see kubernetes/kubernetes#120969 for one such instance (the copyright_file arguments point to files in temporary directories).

(Optional) Proposed solution
I am about to submit a PR adding an option to take care of this by adding a command-line option to disable it.
Another possibility would be to remove paths from file names provided as arguments, perhaps only if they are absolte, but that may not be generally desirable.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions