icns

Easily create .icns files (Mac Icons) with this Go library or the included CLI.
Log | Files | Refs | LICENSE

commit 5fdb3ed2de4345cf12601fc28b0f5badff095f80
parent ce8a60127d08683157ed230657e9d76ddb310eaf
Author: Jack Mordaunt <jackmordaunt@gmail.com>
Date:   Tue, 30 Jan 2018 17:30:31 +0100

[+] More thorough usage message.

Diffstat:
Acmd/doc.go | 19+++++++++++++++++++
1 file changed, 19 insertions(+), 0 deletions(-)

diff --git a/cmd/doc.go b/cmd/doc.go @@ -0,0 +1,19 @@ +package main + +import ( + "fmt" + + "github.com/spf13/pflag" +) + +func usage() { + fmt.Printf("\n") + pflag.Usage() + fmt.Printf(` +You can also pipe to stdin and from stdout. +The pipes will be detected automatically, and both --input and --output will be ignored. + + cat icon.png | icns | cat > icon.icns + +`) +}