Help us shape the future of Go! Take the 2026 Go Developer Survey

cli

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Oct 4, 2026 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Version string

Version can be set with -ldflags "-X github.com/vekio/overmind/internal/cli.Version=vX.Y.Z".

Functions

func New

func NewSetupCommand

func NewSetupCommand(configFile *configlib.ConfigFile[appconfig.Settings]) *urfavecli.Command

NewSetupCommand creates the interactive configuration command.

Types

type ClientFactory

type ClientFactory func(context.Context) (Client, error)

ClientFactory creates the client after command flags have been parsed.

type LocalClient

type LocalClient struct {
	// contains filtered or unexported fields
}

LocalClient runs CLI operations against the in-process application.

func NewLocalClient

func NewLocalClient(application *app.Application) *LocalClient

NewLocalClient adapts an application running in this process to the CLI.

func (*LocalClient) CreateBookmark

func (client *LocalClient) CreateBookmark(ctx context.Context, command app.CreateBookmarkCommand) (app.CreateBookmarkResult, error)

func (*LocalClient) CreateHabit added in v0.3.0

func (client *LocalClient) CreateHabit(ctx context.Context, command app.CreateHabitCommand) (app.CreateHabitResult, error)

CreateHabit forwards raw CLI input to the use case's domain validation.

func (*LocalClient) CreateInbox added in v0.3.0

func (client *LocalClient) CreateInbox(ctx context.Context, command app.CreateInboxCommand) (app.CreateInboxResult, error)

func (*LocalClient) CreateJournal

func (client *LocalClient) CreateJournal(ctx context.Context, command app.CreateJournalCommand) (app.CreateJournalResult, error)

func (*LocalClient) CreatePage

func (client *LocalClient) CreatePage(ctx context.Context, command app.CreatePageCommand) (app.CreatePageResult, error)

func (*LocalClient) CreatePerson

func (client *LocalClient) CreatePerson(ctx context.Context, command app.CreatePersonCommand) (app.CreatePersonResult, error)

func (*LocalClient) DeleteNote

func (client *LocalClient) DeleteNote(ctx context.Context, command app.DeleteNoteCommand) (app.DeleteNoteResult, error)

func (*LocalClient) ListNotes

func (client *LocalClient) ListNotes(ctx context.Context, query app.ListNotesQuery) (app.ListNotesResult, error)

func (*LocalClient) Reindex added in v0.3.0

func (client *LocalClient) Reindex(ctx context.Context, command app.ReindexCommand) (app.ReindexResult, error)

Jump to

Keyboard shortcuts

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