Something went wrong. Try again.
A terminal client for Tangled. forked from aly.codes/tg
Something went wrong. Try again.
123456789101112131415161718192021222324package cli
import ( "github.com/spf13/cobra")
// stringCollection is the NSID of tangled string records.const stringCollection = "sh.tangled.string"
// stringRecord is the value of a sh.tangled.string record. Description may// be empty.type stringRecord struct { Type string `json:"$type"` Filename string `json:"filename"` Description string `json:"description"` Contents string `json:"contents"` CreatedAt string `json:"createdAt"`}
var stringCmd = &cobra.Command{ Use: "string", Short: "Manage strings on Tangled",}