var Info = subcmd.DefineCommand("info", "show GIF info", func(ctx context.Context, args []string) error {
if len(args) == 0 {
return errors.New("require one or more files")
}
for _, name := range args {
err := dumpAsGIF(os.Stdout, name)
if err != nil {
return err
}
}
return nil
})