Skip to content

Commit

Permalink
replaceableをデフォルトでtrueに変更
Browse files Browse the repository at this point in the history
  • Loading branch information
studiokaiji committed Sep 27, 2023
1 parent 745fafc commit ac1782b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions hostr/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,13 @@ func main() {
&cli.BoolFlag{
Name: "replaceable",
Aliases: []string{"r"},
Usage: "🧪 Experimental: Specify 'true' explicitly when using NIP-33",
Value: false,
Usage: "Specify 'true' explicitly when using NIP-33",
Value: true,
},
&cli.StringFlag{
Name: "identifier",
Aliases: []string{"d"},
Usage: "🧪 Experimental: index.html identifier (valid only if replaceable option is true)",
Usage: "index.html identifier (valid only if replaceable option is true)",
},
},
Action: func(ctx *cli.Context) error {
Expand All @@ -51,7 +51,7 @@ func main() {
path := ctx.String("path")
replaceable := ctx.Bool("replaceable")
dTag := ctx.String("identifier")

indexEventId, err := deploy.Deploy(path, replaceable, dTag)
if err == nil {
fmt.Println("🌐 Deploy Complete!")
Expand Down

0 comments on commit ac1782b

Please sign in to comment.