alucardthefish / alucardthefish/CodeNowHere

Support for custom/enterprise copyright string

Đang mở
#11 5 bình luận 1 reaction 1 người được giao Được @Rahul27297 nhận Xem trên GitHub
enhancement
Ngôn ngữ chính
C++
Star
22
Fork
24
Chỉ số merge pull request
Không có pull request nào được merge trong 30 ngày

Mô tả

---
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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.