Commit graph

6 commits

Author SHA1 Message Date
Anthony Fok
b0ace35ce7 Improve Cobra Generator’s licensing helper
- Adopt standardized short identifiers from the SPDX License List,
   see http://spdx.org/licenses/
 - Add SPDX-License-Identifier in the source header, see ESR’s
   endorsement in http://esr.ibiblio.org/?p=6867
 - Print a message telling the user which license is actually chosen

TODO: Work-in-progress, not ready for commit.  Comments welcome!
2015-11-22 00:00:17 -07:00
Anthony Fok
6d6c92d5b7 Parse the full license text as a template
... to allow including "Copyright © 2015 NAME HERE" to the output
LICENSE file where necessary
2015-11-21 23:29:20 -07:00
Anthony Fok
0cc7cc2c06 Fix typo in cobra/cmd/init.go 2015-11-20 15:50:06 -07:00
Anthony Fok
1e63ad8ed1 Fine-tune the formatting of Cobra’s generated code 2015-11-20 15:28:40 -07:00
spf13
8377361429 Add extra feedback on successful initialization 2015-10-28 13:45:33 -04:00
spf13
ea5bc31ac4 Add cobra generator application 2015-10-28 12:51:48 -04:00