cmd/status.go
changeset 221 970c319e1f7c
parent 215 b0bc0a131b59
child 237 ac5ce4c0e79b
equal deleted inserted replaced
220:08a2ee738117 221:970c319e1f7c
   192 
   192 
   193 var statusPostSubcommand = &cobra.Command{
   193 var statusPostSubcommand = &cobra.Command{
   194 	Use:     "post",
   194 	Use:     "post",
   195 	Aliases: []string{"toot", "pouet"},
   195 	Aliases: []string{"toot", "pouet"},
   196 	Short:   "Post a message (same as 'madonctl toot')",
   196 	Short:   "Post a message (same as 'madonctl toot')",
   197 	Example: `  madonctl status post --spoiler Warning "Hello, World"
   197 	Example: `  madonctl status post "Hello, World"
       
   198   madonctl status post --spoiler Warning "Spoiled"
       
   199   madonctl status toot --visibility private "To my followers only"
   198   madonctl status toot --sensitive --file image.jpg Image
   200   madonctl status toot --sensitive --file image.jpg Image
   199   madonctl status post --media-ids ID1,ID2,ID3 Image
   201   madonctl status post --media-ids ID1,ID2,ID3 Image
   200   madonctl status toot --text-file message.txt
   202   madonctl status toot --text-file message.txt
   201   madonctl status post --in-reply-to STATUSID "@user response"
   203   madonctl status post --in-reply-to STATUSID "@user response"
   202   madonctl status post --in-reply-to STATUSID --add-mentions "response"
   204   madonctl status post --in-reply-to STATUSID --add-mentions "response"