Quellcode durchsuchen

add tor options to claim and blogs cmds

both commands make network calls but do not accept flags for tor or the
tor port
pull/41/head
Rob Loranger vor 4 Jahren
Ursprung
Commit
d257ff0070
Es konnte kein GPG-Schlüssel zu dieser Signatur gefunden werden GPG-Schlüssel-ID: D6F1633A4F0903B8
1 geänderte Dateien mit 18 neuen und 0 gelöschten Zeilen
  1. +18
    -0
      cmd/writeas/main.go

+ 18
- 0
cmd/writeas/main.go Datei anzeigen

@@ -179,6 +179,15 @@ func main() {
Action: commands.CmdCollections,
Flags: []cli.Flag{
cli.BoolFlag{
Name: "tor, t",
Usage: "Authenticate via Tor hidden service",
},
cli.IntFlag{
Name: "tor-port",
Usage: "Use a different port to connect to Tor",
Value: 9150,
},
cli.BoolFlag{
Name: "url",
Usage: "Show list with URLs",
},
@@ -190,6 +199,15 @@ func main() {
Description: "This will claim any unsynced posts local to this machine. To see which posts these are run: writeas posts.",
Flags: []cli.Flag{
cli.BoolFlag{
Name: "tor, t",
Usage: "Authenticate via Tor hidden service",
},
cli.IntFlag{
Name: "tor-port",
Usage: "Use a different port to connect to Tor",
Value: 9150,
},
cli.BoolFlag{
Name: "verbose, v",
Usage: "Make the operation more talkative",
},


Laden…
Abbrechen
Speichern