Browse Source

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 4 years ago
parent
commit
d257ff0070
No known key found for this signature in database GPG Key ID: D6F1633A4F0903B8
1 changed files with 18 additions and 0 deletions
  1. +18
    -0
      cmd/writeas/main.go

+ 18
- 0
cmd/writeas/main.go View File

@@ -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",
},


Loading…
Cancel
Save