// Package cli is the fejkdata command: it renders the template on its stdin with fake // values from the modules it is given and any directories layered over them. A program // passing its own modules to Main is a fejkdata CLI carrying them, as // os.Exit(cli.Main(append(data.Modules(), mydata)...)). package cli import ( "bufio" "encoding/json" "errors" "fmt" "io" "io/fs" "os" "path/filepath" "reflect" "runtime/debug" "sort" "strconv" "strings" "github.com/larvit/fejkdata" ) const usage = `Usage: