Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: os.Args[0], Short: "gif-progress", Long: "Attach progress bar to animated GIF", RunE: func(cmd *cobra.Command, args []string) error { hex, err := colors.ParseHEX(barColorString) if err != nil { return err } c := hex.ToRGB() barColor := color.RGBA{c.R, c.G, c.B, 255} inOutGif, err := gif.DecodeAll(os.Stdin) if err != nil { return err } gif_progress.AddProgressBar(inOutGif, barTop, barHeight, barColor) err = gif.EncodeAll(os.Stdout, inOutGif) return err }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.