cli

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2026 License: MIT Imports: 32 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type App

type App struct {
	Stdout io.Writer
	Stderr io.Writer
	// contains filtered or unexported fields
}

func New

func New() *App

func (*App) Run

func (a *App) Run(ctx context.Context, args []string) error

type ImportReport

type ImportReport struct {
	Workspace string        `json:"workspace"`
	Users     int           `json:"users"`
	Channels  int           `json:"channels"`
	DMs       int           `json:"dms"`
	MPIMs     int           `json:"mpims"`
	Messages  int           `json:"messages"`
	Skipped   int           `json:"skipped"`
	DryRun    bool          `json:"dry_run"`
	Elapsed   time.Duration `json:"elapsed"`
}

type OutputFormat

type OutputFormat string
const (
	FormatText OutputFormat = "text"
	FormatJSON OutputFormat = "json"
	FormatLog  OutputFormat = "log"
)

Jump to

Keyboard shortcuts

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