chess-imagr

command module
v0.0.0-...-2b8a2a6 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 9, 2021 License: MIT Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

README

Chess Imagr

CLI tool to generate SVG images of chess games from PGN files.

Mainly a wrapper around the excellent https://github.com/notnil/chess

Usage of chess-imagr:
  -glob string
    	Glob for input files (default "*.pgn")
  -output string
    	Directory to output images (default "out")

Example use

The -glob argument accepts a glob for input files. To read from a single file you can just use the literal path

./chess-imagr -glob /path/to/game.pgn

or use wildcards to read a bunch of files from a folder

./chess-imagr -glob /path/to/*.pgn

The -output argument defines where the images will be saved. Defaults to ./out but can be changed to any path. The directory will be created if it does not exist.

Documentation

The Go Gopher

There is no documentation for this package.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
⌂ 换网址