You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
cmdkit.StringOption("ttl", "Time duration this record should be cached for (caution: experimental)."),
72
-
cmdkit.StringOption("key", "k", "Name of the key to be used or a valid PeerID, as listed by 'ipfs key list -l'. Default: <<default>>.").WithDefault("self"),
86
+
cmdkit.BoolOption(allowOfflineOptionName, "When offline, save the IPNS record to the the local datastore without broadcasting to the network instead of simply failing."),
87
+
cmdkit.StringOption(ttlOptionName, "Time duration this record should be cached for (caution: experimental)."),
88
+
cmdkit.StringOption(keyOptionName, "k", "Name of the key to be used or a valid PeerID, as listed by 'ipfs key list -l'. Default: <<default>>.").WithDefault("self"),
73
89
},
74
90
Run: func(req*cmds.Request, res cmds.ResponseEmitter, env cmds.Environment) {
75
91
n, err:=cmdenv.GetNode(env)
@@ -78,7 +94,12 @@ Alternatively, publish an <ipfs-path> using a valid PeerID (as listed by
0 commit comments