root

package
v0.1.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 21, 2024 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Command = &cobra.Command{
	Use:   "mi <text> [flags]",
	Short: "Misskey CLI",
	Long:  "CLI tool for sending Misskey notes.",
	Example: `$ mi Hello world!
$ mi --cw Read? It's nsfw!
$ mi --direct "misskey,misskey@example.com" Hello Misskey!
$ mi --set visibility=public --set local-only=true`,
	Run: func(command *cobra.Command, args []string) {
		if flags.FlagInit {
			err := initialize.Command(command, args)
			cobra.CheckErr(err)
			os.Exit(0)
		}

		err := post.Command(command, args)
		cobra.CheckErr(err)
	},
}

Functions

This section is empty.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL