alucardthefish / alucardthefish/CodeNowHere
Support for custom/enterprise copyright string
- 主要語言
- C++
- 星號
- 22
- 分支
- 24
- PR 合併指標
- 30 天內沒有已合併 PR
描述
---
name: Support for custom/enterprise copyright string
about: copyright string part of header of any generated file
title: ''
labels: ''
assignees: guthub.com/Rahul27297
---
**Is your feature request related to a problem? Please describe.**
Feature is not related to a problem. The proposed feature is an enhancement.
Several times (always in my case) the author is just an employee/contributor to a project. In such a scenario, the copyright string that is generated needs to be replaced with the actual string. Very often in projects the author is not the sole copyright owner. Hence, I feel this feature is good to have.
**Describe the solution you'd like**
I propose we can add a new cli option, something like --crs ""which can be used to mention the custom copyright string. This could be made exclusive to the current --cr option which shall by default set the author's copyright.
**Describe alternatives you've considered**
Another option that I considered was, --crs option proposed above could be used in conjunction with the --cr option. If --crs is present use the custom copyright provided, else use the default. However this will add the number of options that one would need to specify. Hence I feel if we make --crs and --cr exclusive options, it will improve the user's experience.
**Additional context**
Please revert back if anything else is needed. I prefer to work on this feature myself, if approved by the repo owners.
貢獻指南
評估
這個 Issue 還沒有評估資料。