mirror of
https://github.com/spf13/cobra
synced 2025-05-06 13:27:26 +00:00
Some projects do not add copyright headers to the tops of their files. Right now you can specify `license: none` to prevent a license from being generated for the file. But you will still get a line like: `// Copyright © 2017 NAME HERE <EMAIL ADDRESS>` This change allows passing `author: none` to prevent that line from being generated. The change does not alter the defaults. However, it does slightly change the formatting templates to prevent the extraneous addition of newlines when an author or liciece line is not requested. |
||
---|---|---|
.. | ||
testdata | ||
add.go | ||
add_test.go | ||
golden_test.go | ||
helpers.go | ||
init.go | ||
init_test.go | ||
license_agpl.go | ||
license_apache_2.go | ||
license_bsd_clause_2.go | ||
license_bsd_clause_3.go | ||
license_gpl_2.go | ||
license_gpl_3.go | ||
license_lgpl.go | ||
license_mit.go | ||
licenses.go | ||
project.go | ||
project_test.go | ||
root.go |