alucardthefish / alucardthefish/CodeNowHere

Support for custom/enterprise copyright string

未关闭
#11 5 条评论 1 个 reaction 已指派 1 人 已被 @Rahul27297 认领 在 GitHub 查看
enhancement
主要语言
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 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。