Noah Petherbridge
5bf7d554f7
Adds the `doodad` binary which will be a command line tool to work with Doodads and Levels and assist with development. The `doodad` binary has subcommands like git and the first command is `convert` which converts between image files (PNG or BMP) and Doodle drawing files (Level or Doodad). You can "screenshot" a level into a PNG or you can initialize a new drawing from a PNG.
15 lines
243 B
Go
15 lines
243 B
Go
package commands
|
|
|
|
import "github.com/kirsle/golog"
|
|
|
|
var log *golog.Logger
|
|
|
|
func init() {
|
|
log = golog.GetLogger("doodad")
|
|
log.Configure(&golog.Config{
|
|
Level: golog.InfoLevel,
|
|
Theme: golog.DarkTheme,
|
|
Colors: golog.ExtendedColor,
|
|
})
|
|
}
|