lootsack-generate.1

.Dd $Mdocdate: May 17, 2024 $
.Dt lootsack-generate 1
.Os
.Sh NAME
.Nm lootsack-generate
.Nd Generator for lootsack treasure piles.
.Sh SYNOPSIS
.Nm lootsack
.Op Fl v
.Op Fl n Ar items
.Op Fl o Ar outputfile
.Sh DESCRIPTION
The
.Nm lootsack-generator
program generates a treasure pile containing
.Fl n
items and writes the results as a CSV to the output file indicated with the
.Fl o
flag.

.Bl -tag -width Ds
.It Fl v
Enable verbose output.
.It Fl n Ar items
Optionally specify how many randomly-generated treasure items should be created. A
default value of 1,400 will be used if not specified.
.It Fl f Ar fmt
Specify the output format. Acceptable values are 'csv' or 'bin' (the default)
representing comma separated value or binary format, respectively.
.It Fl o Ar outputfile
Emit the list of generated treasure items to the specified output file.
.El

.Sh EXIT STATUS
.Nm
will exit with a non-zero value in the event of an error.

.Sh AUTHORS
.An Ron Dahlgren
.Mt ron@sw.gy