license generator
golic inject -c="2021 SuperPower Group Limited" -l=.licignore --dry
create .golicignore
# Ignore everything
*
# But not these files...
!Makefile
!*.go
# ...even if they are in subdirectories
!*/
And run GOLIC
GO111MODULE=on go get github.com/kuritka/[email protected]
$(GOBIN)/golic inject -c="2021 MyCompany Group Limited" -l=.golicignore
Usage:
inject [flags]
Flags:
-u, --config-url string config URL (default "https://raw.githubusercontent.com/kuritka/golic/main/config.yaml")
-c, --copyright string company initials entered into license (default "2021 MyCompany")
-d, --dry dry run
-h, --help help for inject
-l, --licignore string .licignore path
-t, --template string license key (default "apache2")
Global Flags:
-v, --verbose verbose output
For more details see: default configuration.
Use -u
flag to run against custom configuration or create PR.