nsite: --title

This commit is contained in:
fiatjaf
2026-06-13 10:06:45 -03:00
parent 29113783b3
commit c97e1815b4

View File

@@ -44,6 +44,10 @@ var nsite = &cli.Command{
Aliases: []string{"d"},
Usage: "publish named site as kind 35128 with this d tag",
},
&cli.StringFlag{
Name: "title",
Usage: "a human-readable title for the site",
},
&cli.StringFlag{
Name: "description",
Usage: "a human-readable description of the site",
@@ -103,6 +107,7 @@ var nsite = &cli.Command{
Root: root,
Identifier: identifier,
Paths: make(map[string][32]byte),
Title: c.String("title"),
Description: c.String("description"),
Source: c.String("source"),
}