Commit graph

11 commits

Author SHA1 Message Date
Anthony Fok
8985ae80d8 Merge b0ace35ce7 into 4c05eb1145 2016-04-07 00:08:47 +00:00
Ian Walter
a0bd6c17b3 Fixing golint warnings
* Moving final return outside of if-else
* Removing type declarations that Go can infer from values
* Cleaning up some existing comments
* Changing snake_case variables to camelCase
2016-03-31 09:53:34 -04:00
Jared Bydeley
ee6224d01f Ugly fix for filepath.IsAbs not playing nicely with windows 2015-12-11 15:44:48 -05:00
Jared Bydeley
3e7fb991e1 Fixed import path issue on Windows 2015-12-11 15:44:48 -05:00
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
1e63ad8ed1 Fine-tune the formatting of Cobra’s generated code 2015-11-20 15:28:40 -07:00
spf13
2a6ed7a106 utilize filepath.Join liberally
fixes #176
2015-11-06 11:08:12 -05:00
spf13
1d9d665f6f improving project path guessing 2015-11-06 10:44:59 -05:00
spf13
9bd7cfaa66 Fix bug where project name isn't properly detected 2015-10-31 22:04:55 -04:00
spf13
4f2eaa858f removing some extra prints 2015-10-28 13:45:08 -04:00
spf13
ea5bc31ac4 Add cobra generator application 2015-10-28 12:51:48 -04:00