cli

command
v1.1.0 Latest Latest
Warning

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

Go to latest
Published: Feb 17, 2023 License: MIT Imports: 6 Imported by: 0

README

GameList CLI utility

This is a CLI for managing and manipulating game list data written in Go.

It should use the docwhat.org/gamelist-xml-util/pkg/gamelist and docwhat.org/gamelist-xml-util/pkg/miyoogamelist packages to do the heavy lifting.

The CLI should:

  • Require the path to a gamelist.xml file. If the path is - then it will read from stdin.
  • Accept the optional flag --output with a path to an output file. The default is - which means stdout.
  • Accept the optional flag --roms with a path to a ROMs directory. The default is the directory of the gamelist.xml or . if the gamelist.xml file is stdin.
  • Accept the optional flag --add-roms which will add games from the ROMs directory to the gamelist.xml file that are not already there.
  • Accept the optional flag --add-images which will add images from the ROMs directory to games in the gamelist.xml that are missing an image but the image exists in the ROMs directory.

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