Skip to content

v0.1.1

Compare
Choose a tag to compare
@kuritka kuritka released this 09 Mar 11:35
· 34 commits to main since this release

inject command implementation:

  • injects license into file filtered by .licignore.
  • licenses are generated based on configuration
  • configuration can be extended by PR or custom configuration can be provided ( -u argument)

Examples:

  • golic inject -c="2021 ABSA Group Limited" -l=.licignore --dry

  • golic inject -c="2021 ABSA Group Limited" -l=.licignore -u=https://<something>/config.yaml

  • In case you don't have compiled version:

GO111MODULE=on GOSUMDB=off go get github.com/AbsaOSS/[email protected]
$(GOBIN)/golic inject -c="2021 MyCompany Group Limited" -l=.licignore --dry