cmd

package
v0.1.25 Latest Latest
Warning

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

Go to latest
Published: Apr 28, 2025 License: AGPL-3.0 Imports: 47 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	DefaultLegacyStorage = map[string]string{
		kv.DriverTypeKey: kv.DriverLegacy.String(),
		"path":           filepath.Join(consts.DataDir, "data.kv"),
	}
	DefaultBoltStorage = map[string]string{
		kv.DriverTypeKey: kv.DriverBolt.String(),
		"path":           defaultBoltPath,
	}
)

Functions

func New

func New() *cobra.Command

func NewBackup

func NewBackup() *cobra.Command

func NewChat

func NewChat() *cobra.Command

func NewChatExport

func NewChatExport() *cobra.Command

func NewChatList

func NewChatList() *cobra.Command

func NewChatUsers

func NewChatUsers() *cobra.Command

func NewDownload

func NewDownload() *cobra.Command

func NewExtension

func NewExtension(em *extensions.Manager) *cobra.Command

func NewExtensionCmd

func NewExtensionCmd(em *extensions.Manager, ext extensions.Extension, stdin io.Reader, stdout, stderr io.Writer) *cobra.Command

func NewExtensionInstall

func NewExtensionInstall(em *extensions.Manager) *cobra.Command

func NewExtensionList

func NewExtensionList(em *extensions.Manager) *cobra.Command

func NewExtensionRemove

func NewExtensionRemove(em *extensions.Manager) *cobra.Command

func NewExtensionUpgrade

func NewExtensionUpgrade(em *extensions.Manager) *cobra.Command

func NewForward

func NewForward() *cobra.Command

func NewGen

func NewGen() *cobra.Command

func NewGenDoc

func NewGenDoc() *cobra.Command

func NewLogin

func NewLogin() *cobra.Command

func NewMigrate

func NewMigrate() *cobra.Command

func NewRecover

func NewRecover() *cobra.Command

func NewUpload

func NewUpload() *cobra.Command

func NewVersion

func NewVersion() *cobra.Command

Types

This section is empty.

Jump to

Keyboard shortcuts

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