// Command fejkdata renders the template on its stdin with fake values from the shipped // data and any directories layered over it. // // echo '{/sv_SE.person}' | fejkdata # a full person // echo 'name: {/sv_SE.person.last}' | fejkdata # text around a surname // echo '{/sv_SE.person}' | fejkdata --data-path ./mydata # layer custom data; the last dir wins // echo '{/sv_SE.address}' | fejkdata --seed 42 package main import ( "bufio" "encoding/json" "errors" "fmt" "io" "os" "runtime/debug" "sort" "strconv" "strings" "github.com/larvit/fejkdata" ) const usage = `Usage: