cmd/root.go
changeset 213 3569475f86ec
parent 185 564d92b54b00
child 239 605a00e9d1ab
equal deleted inserted replaced
212:3dbe496343fe 213:3569475f86ec
    94   madonctl toot "Hello, World"
    94   madonctl toot "Hello, World"
    95   madonctl toot --visibility direct "@McKael Hello, You"
    95   madonctl toot --visibility direct "@McKael Hello, You"
    96   madonctl toot --visibility private --spoiler CW "The answer was 42"
    96   madonctl toot --visibility private --spoiler CW "The answer was 42"
    97   madonctl post --file image.jpg Selfie
    97   madonctl post --file image.jpg Selfie
    98   madonctl --instance INSTANCE --login USERNAME --password PASS timeline
    98   madonctl --instance INSTANCE --login USERNAME --password PASS timeline
    99   madonctl accounts notifications --list --clear
    99   madonctl account notifications --list --clear
   100   madonctl accounts blocked
   100   madonctl account blocked
   101   madonctl accounts search Gargron
   101   madonctl account search Gargron
   102   madonctl search --resolve https://mastodon.social/@Gargron
   102   madonctl search --resolve https://mastodon.social/@Gargron
   103   madonctl accounts follow --remote Gargron@mastodon.social
   103   madonctl account follow 37
   104   madonctl accounts --account-id 399 statuses
   104   madonctl account follow Gargron@mastodon.social
       
   105   madonctl account follow https://mastodon.social/@Gargron
       
   106   madonctl account --account-id 399 statuses
   105   madonctl status --status-id 416671 show
   107   madonctl status --status-id 416671 show
   106   madonctl status --status-id 416671 favourite
   108   madonctl status --status-id 416671 favourite
   107   madonctl status --status-id 416671 boost
   109   madonctl status --status-id 416671 boost
   108   madonctl accounts show
   110   madonctl account show
   109   madonctl accounts show -o yaml
   111   madonctl account show Gargron@mastodon.social
   110   madonctl accounts --account-id 1 followers --template '{{.acct}}{{"\n"}}'
   112   madonctl account show -o yaml
       
   113   madonctl account --account-id 1 followers --template '{{.acct}}{{"\n"}}'
   111   madonctl config whoami
   114   madonctl config whoami
   112   madonctl timeline :mastodon`,
   115   madonctl timeline :mastodon`,
   113 	BashCompletionFunction: shellComplFunc,
   116 	BashCompletionFunction: shellComplFunc,
   114 }
   117 }
   115 
   118