Documentation
¶
Index ¶
- Constants
- func GetUtility(name string) command.Utility
- func SetVersion(v, c string)
- type AddZettelIds
- type CatAlfred
- type CatObject
- type CheckWorkspace
- type Checkin
- func (cmd *Checkin) Complete(_ command.Request, envLocal env_local.Env, ...)
- func (cmd *Checkin) GetArgs() []command.ArgGroup
- func (cmd Checkin) GetDescription() command.Description
- func (cmd Checkin) Run(dep command.Request)
- func (cmd *Checkin) SetFlagDefinitions(flagSet interfaces.CLIFlagDefinitions)
- type CheckinBlob
- type CheckinJson
- type Checkout
- type Clean
- type Clone
- type Complete
- type Deinit
- type Diff
- type DormantAdd
- type DormantEdit
- type DormantRemove
- type Edit
- func (cmd *Edit) Complete(req command.Request, envLocal env_local.Env, ...)
- func (cmd Edit) CompletionGenres() ids.Genre
- func (cmd *Edit) GetArgs() []command.ArgGroup
- func (cmd Edit) GetDescription() command.Description
- func (cmd Edit) Run(req command.Request)
- func (cmd *Edit) SetFlagDefinitions(flagSet interfaces.CLIFlagDefinitions)
- type EditConfig
- type Exec
- type Export
- type FindMissing
- type FormatBlob
- func (cmd *FormatBlob) Complete(req command.Request, envLocal env_local.Env, ...)
- func (cmd *FormatBlob) FormatFromStdin(u *local_working_copy.Repo, args ...string) (err error)
- func (cmd *FormatBlob) GetArgs() []command.ArgGroup
- func (cmd FormatBlob) GetDescription() command.Description
- func (cmd *FormatBlob) Run(dep command.Request)
- func (cmd *FormatBlob) SetFlagDefinitions(f interfaces.CLIFlagDefinitions)
- type FormatObject
- func (cmd *FormatObject) FormatFromStdin(repo *local_working_copy.Repo, args ...string) (err error)
- func (cmd *FormatObject) GetArgs() []command.ArgGroup
- func (cmd FormatObject) GetDescription() command.Description
- func (cmd *FormatObject) Run(req command.Request)
- func (cmd *FormatObject) SetFlagDefinitions(flagDefs interfaces.CLIFlagDefinitions)
- type FormatOrganize
- type Fsck
- type Gen
- type GenerateZettelIdComponents
- type Import
- type Info
- type InfoPivyAgent
- type InfoRepo
- type InfoSSHAgent
- type InfoWorkspace
- type Init
- type InitWorkspace
- func (cmd InitWorkspace) Complete(_ command.Request, envLocal env_local.Env, ...)
- func (cmd *InitWorkspace) GetArgs() []command.ArgGroup
- func (cmd InitWorkspace) GetDescription() command.Description
- func (cmd InitWorkspace) Run(req command.Request)
- func (cmd *InitWorkspace) SetFlagDefinitions(flagSet interfaces.CLIFlagDefinitions)
- type InstallMcp
- type Last
- type Mcp
- type Mergetool
- type MigrateConfigSeedKey
- type MigrateZettelIds
- type New
- func (cmd *New) GetArgs() []command.ArgGroup
- func (cmd New) GetDescription() command.Description
- func (cmd *New) Run(req command.Request)
- func (cmd *New) SetFlagDefinitions(flagSet interfaces.CLIFlagDefinitions)
- func (cmd New) ValidateFlagsAndArgs(repo *local_working_copy.Repo, args ...string) (err error)
- type Organize
- func (cmd Organize) Complete(req command.Request, envLocal env_local.Env, ...)
- func (cmd *Organize) CompletionGenres() ids.Genre
- func (cmd *Organize) GetArgs() []command.ArgGroup
- func (cmd Organize) GetDescription() command.Description
- func (cmd *Organize) Run(req command.Request)
- func (cmd *Organize) SetFlagDefinitions(flagDef interfaces.CLIFlagDefinitions)
- type PeekZettelIds
- type Pull
- type PullBlobStore
- type Push
- type Reindex
- type RemoteAdd
- type RepoFsck
- type Revert
- type Serve
- type Show
- type Status
- type TomlBookmark
- type Update
- type Version
Constants ¶
const HandshakeProtocolName = "dodder-http-v1"
HandshakeProtocolName is the protocol name advertised in field 5 of the handshake line. Test harnesses can match on this to confirm they're talking to a dodder serve and not some other handshake protocol on the same line shape.
const HandshakeProtocolVersion = 1
HandshakeProtocolVersion is the dodder serve handshake protocol version. Modeled on hashicorp/go-plugin and the clown plugin protocol; bumped on incompatible changes to the handshake line.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AddZettelIds ¶
type AddZettelIds struct {
command_components_dodder.LocalWorkingCopy
// contains filtered or unexported fields
}
func (*AddZettelIds) GetArgs ¶
func (cmd *AddZettelIds) GetArgs() []command.ArgGroup
GetArgs returns nil: reads candidates from stdin, not positional args.
func (AddZettelIds) GetDescription ¶
func (cmd AddZettelIds) GetDescription() command.Description
func (AddZettelIds) Run ¶
func (cmd AddZettelIds) Run(req command.Request)
type CatAlfred ¶
type CatAlfred struct {
command_components_dodder.LocalWorkingCopyWithQueryGroup
genres.Genre
}
func (CatAlfred) GetDescription ¶
func (cmd CatAlfred) GetDescription() command.Description
func (*CatAlfred) SetFlagDefinitions ¶
func (cmd *CatAlfred) SetFlagDefinitions( flagDefinitions interfaces.CLIFlagDefinitions, )
type CatObject ¶
type CatObject struct {
command_components_dodder.LocalWorkingCopy
Format local_working_copy.FormatFlag
}
func (CatObject) GetDescription ¶
func (cmd CatObject) GetDescription() command.Description
func (*CatObject) SetFlagDefinitions ¶
func (cmd *CatObject) SetFlagDefinitions(flagDefs interfaces.CLIFlagDefinitions)
type CheckWorkspace ¶
type CheckWorkspace struct {
command_components_dodder.LocalWorkingCopy
}
func (*CheckWorkspace) GetArgs ¶
func (cmd *CheckWorkspace) GetArgs() []command.ArgGroup
func (CheckWorkspace) GetDescription ¶
func (cmd CheckWorkspace) GetDescription() command.Description
func (CheckWorkspace) Run ¶
func (cmd CheckWorkspace) Run(req command.Request)
type Checkin ¶
type Checkin struct {
command_components_dodder.LocalWorkingCopyWithQueryGroup
IgnoreBlob bool
Proto sku.Proto
command_components_dodder.Checkout
CheckoutBlobAndRun string
OpenBlob bool
// contains filtered or unexported fields
}
func (*Checkin) Complete ¶
func (cmd *Checkin) Complete( _ command.Request, envLocal env_local.Env, commandLine command.CommandLineInput, )
TODO refactor into common
func (Checkin) GetDescription ¶
func (cmd Checkin) GetDescription() command.Description
func (*Checkin) SetFlagDefinitions ¶
func (cmd *Checkin) SetFlagDefinitions( flagSet interfaces.CLIFlagDefinitions, )
type CheckinBlob ¶
type CheckinBlob struct {
command_components_dodder.LocalWorkingCopy
Delete bool
NewTags collections_ptr.Flag[ids.TagStruct, *ids.TagStruct]
}
func (*CheckinBlob) GetArgs ¶
func (cmd *CheckinBlob) GetArgs() []command.ArgGroup
func (CheckinBlob) GetDescription ¶
func (cmd CheckinBlob) GetDescription() command.Description
func (CheckinBlob) Run ¶
func (cmd CheckinBlob) Run(req command.Request)
func (*CheckinBlob) SetFlagDefinitions ¶
func (cmd *CheckinBlob) SetFlagDefinitions( flagDefinitions interfaces.CLIFlagDefinitions, )
type CheckinJson ¶
type CheckinJson struct {
command_components_dodder.LocalWorkingCopy
}
func (*CheckinJson) GetArgs ¶
func (cmd *CheckinJson) GetArgs() []command.ArgGroup
GetArgs returns nil: reads from stdin, not positional arguments.
func (CheckinJson) GetDescription ¶
func (cmd CheckinJson) GetDescription() command.Description
func (CheckinJson) Run ¶
func (cmd CheckinJson) Run(req command.Request)
type Checkout ¶
type Checkout struct {
command_components_dodder.LocalWorkingCopyWithQueryGroup
CheckoutOptions checkout_options.Options
Organize bool
}
func (Checkout) GetDescription ¶
func (cmd Checkout) GetDescription() command.Description
func (*Checkout) SetFlagDefinitions ¶
func (cmd *Checkout) SetFlagDefinitions( flagDefinitions interfaces.CLIFlagDefinitions, )
type Clean ¶
type Clean struct {
command_components_dodder.LocalWorkingCopyWithQueryGroup
// contains filtered or unexported fields
}
func (Clean) GetDescription ¶
func (cmd Clean) GetDescription() command.Description
func (*Clean) SetFlagDefinitions ¶
func (c *Clean) SetFlagDefinitions(f interfaces.CLIFlagDefinitions)
type Clone ¶
type Clone struct {
command_components_dodder.Genesis
command_components_dodder.RemoteTransfer
command_components_dodder.Query
}
func (Clone) GetDescription ¶
func (cmd Clone) GetDescription() command.Description
func (*Clone) SetFlagDefinitions ¶
func (cmd *Clone) SetFlagDefinitions( flagDefinitions interfaces.CLIFlagDefinitions, )
type Complete ¶
type Complete struct {
command_components.Env
command_components_dodder.Complete
// contains filtered or unexported fields
}
func (Complete) GetDescription ¶
func (cmd Complete) GetDescription() command.Description
func (*Complete) SetFlagDefinitions ¶
func (cmd *Complete) SetFlagDefinitions( flagDefinitions interfaces.CLIFlagDefinitions, )
type Deinit ¶
type Deinit struct {
command_components_dodder.LocalWorkingCopy
Force bool
}
func (*Deinit) GetArgs ¶
GetArgs returns nil: no positional arguments.
func (Deinit) GetDescription ¶
func (cmd Deinit) GetDescription() command.Description
func (*Deinit) SetFlagDefinitions ¶
func (cmd *Deinit) SetFlagDefinitions( flagDefinitions interfaces.CLIFlagDefinitions, )
type Diff ¶
type Diff struct {
command_components_dodder.LocalWorkingCopyWithQueryGroup
}
func (*Diff) Complete ¶
func (cmd *Diff) Complete( _ command.Request, envLocal env_local.Env, commandLine command.CommandLineInput, )
TODO filter to checked out objects, tags, and types
func (Diff) GetDescription ¶
func (cmd Diff) GetDescription() command.Description
func (*Diff) SetFlagDefinitions ¶
func (cmd *Diff) SetFlagDefinitions(f interfaces.CLIFlagDefinitions)
type DormantAdd ¶
type DormantAdd struct {
command_components_dodder.LocalWorkingCopy
}
func (*DormantAdd) GetArgs ¶
func (cmd *DormantAdd) GetArgs() []command.ArgGroup
func (DormantAdd) GetDescription ¶
func (cmd DormantAdd) GetDescription() command.Description
func (DormantAdd) Run ¶
func (cmd DormantAdd) Run(dep command.Request)
type DormantEdit ¶
type DormantEdit struct {
command_components_dodder.LocalWorkingCopy
}
func (*DormantEdit) GetArgs ¶
func (cmd *DormantEdit) GetArgs() []command.ArgGroup
GetArgs returns nil: dormant-edit pops args but ignores them with a warning.
func (DormantEdit) GetDescription ¶
func (cmd DormantEdit) GetDescription() command.Description
func (DormantEdit) Run ¶
func (cmd DormantEdit) Run(req command.Request)
type DormantRemove ¶
type DormantRemove struct {
command_components_dodder.LocalWorkingCopy
}
func (*DormantRemove) GetArgs ¶
func (cmd *DormantRemove) GetArgs() []command.ArgGroup
func (DormantRemove) GetDescription ¶
func (cmd DormantRemove) GetDescription() command.Description
func (DormantRemove) Run ¶
func (cmd DormantRemove) Run(dep command.Request)
type Edit ¶
type Edit struct {
command_components_dodder.LocalWorkingCopyWithQueryGroup
// TODO-P3 add force
command_components_dodder.Checkout
CheckoutMode checkout_mode.Mode
// contains filtered or unexported fields
}
func (*Edit) Complete ¶
func (Edit) GetDescription ¶
func (cmd Edit) GetDescription() command.Description
func (*Edit) SetFlagDefinitions ¶
func (cmd *Edit) SetFlagDefinitions(flagSet interfaces.CLIFlagDefinitions)
type EditConfig ¶
type EditConfig struct {
command_components_dodder.LocalWorkingCopy
}
func (*EditConfig) GetArgs ¶
func (cmd *EditConfig) GetArgs() []command.ArgGroup
GetArgs returns nil: edit-config pops args but ignores them with a warning.
func (EditConfig) GetDescription ¶
func (cmd EditConfig) GetDescription() command.Description
func (EditConfig) Run ¶
func (cmd EditConfig) Run(req command.Request)
type Exec ¶
type Exec struct {
command_components_dodder.LocalWorkingCopy
}
func (Exec) GetDescription ¶
func (cmd Exec) GetDescription() command.Description
type Export ¶
type Export struct {
command_components_dodder.LocalWorkingCopyWithQueryGroup
AgeIdentity age.Identity
CompressionType compression_type.CompressionType
}
func (Export) GetDescription ¶
func (cmd Export) GetDescription() command.Description
func (*Export) SetFlagDefinitions ¶
func (cmd *Export) SetFlagDefinitions(f interfaces.CLIFlagDefinitions)
type FindMissing ¶
type FindMissing struct {
command_components_dodder.LocalWorkingCopy
}
func (*FindMissing) GetArgs ¶
func (cmd *FindMissing) GetArgs() []command.ArgGroup
func (FindMissing) GetDescription ¶
func (cmd FindMissing) GetDescription() command.Description
func (FindMissing) Run ¶
func (cmd FindMissing) Run(dep command.Request)
type FormatBlob ¶
type FormatBlob struct {
command_components_dodder.LocalWorkingCopy
Stdin bool
UTIGroup string
// contains filtered or unexported fields
}
func (*FormatBlob) Complete ¶
func (cmd *FormatBlob) Complete( req command.Request, envLocal env_local.Env, commandLine command.CommandLineInput, )
func (*FormatBlob) FormatFromStdin ¶
func (cmd *FormatBlob) FormatFromStdin( u *local_working_copy.Repo, args ...string, ) (err error)
func (*FormatBlob) GetArgs ¶
func (cmd *FormatBlob) GetArgs() []command.ArgGroup
func (FormatBlob) GetDescription ¶
func (cmd FormatBlob) GetDescription() command.Description
func (*FormatBlob) Run ¶
func (cmd *FormatBlob) Run(dep command.Request)
func (*FormatBlob) SetFlagDefinitions ¶
func (cmd *FormatBlob) SetFlagDefinitions(f interfaces.CLIFlagDefinitions)
type FormatObject ¶
type FormatObject struct {
command_components_dodder.LocalWorkingCopy
CheckoutMode checkout_mode.Mode // add test that says this is unused for stdin
Stdin bool // switch to using `-`
ids.RepoId
UTIGroup string
}
func (*FormatObject) FormatFromStdin ¶
func (cmd *FormatObject) FormatFromStdin( repo *local_working_copy.Repo, args ...string, ) (err error)
func (*FormatObject) GetArgs ¶
func (cmd *FormatObject) GetArgs() []command.ArgGroup
func (FormatObject) GetDescription ¶
func (cmd FormatObject) GetDescription() command.Description
func (*FormatObject) Run ¶
func (cmd *FormatObject) Run(req command.Request)
func (*FormatObject) SetFlagDefinitions ¶
func (cmd *FormatObject) SetFlagDefinitions(flagDefs interfaces.CLIFlagDefinitions)
type FormatOrganize ¶
type FormatOrganize struct {
command_components_dodder.LocalWorkingCopy
Flags orgie.Flags
}
func (*FormatOrganize) GetArgs ¶
func (cmd *FormatOrganize) GetArgs() []command.ArgGroup
func (FormatOrganize) GetDescription ¶
func (cmd FormatOrganize) GetDescription() command.Description
func (*FormatOrganize) Run ¶
func (cmd *FormatOrganize) Run(dep command.Request)
func (*FormatOrganize) SetFlagDefinitions ¶
func (cmd *FormatOrganize) SetFlagDefinitions(f interfaces.CLIFlagDefinitions)
type Fsck ¶
type Fsck struct {
command_components_dodder.LocalWorkingCopy
command_components_dodder.InventoryLists
command_components_dodder.Query
InventoryListPath string
VerifyOptions object_finalizer.VerifyOptions
Duplicates object_fmt_digest.CLIFlag
SkipProbes bool
SkipBlobs bool
TryV14Index bool
Recompute bool
}
TODO add options to verify type formats, tags TODO add option to count duplicate objects according to a list of object digest formats
func (Fsck) GetDescription ¶
func (cmd Fsck) GetDescription() command.Description
func (*Fsck) SetFlagDefinitions ¶
func (cmd *Fsck) SetFlagDefinitions(flagSet interfaces.CLIFlagDefinitions)
type Gen ¶
type Gen struct{}
func (Gen) GetDescription ¶
func (cmd Gen) GetDescription() command.Description
func (Gen) SetFlagDefinitions ¶
func (cmd Gen) SetFlagDefinitions(flagSet interfaces.CLIFlagDefinitions)
type GenerateZettelIdComponents ¶
type GenerateZettelIdComponents struct{}
func (GenerateZettelIdComponents) GetDescription ¶
func (cmd GenerateZettelIdComponents) GetDescription() command.Description
func (GenerateZettelIdComponents) Run ¶
func (cmd GenerateZettelIdComponents) Run(req command.Request)
type Import ¶
type Import struct {
command_components_dodder.LocalWorkingCopy
command_components_dodder.InventoryLists
command_components_dodder.BlobStore
repo.ImporterOptions
Proto sku.Proto
BlobStoreId blob_store_id.Id
PlanFormat string
Interactive bool
OmitTags stringSliceFlag
}
func (Import) GetDescription ¶
func (cmd Import) GetDescription() command.Description
func (*Import) SetFlagDefinitions ¶
func (cmd *Import) SetFlagDefinitions( flagDefinitions interfaces.CLIFlagDefinitions, )
type Info ¶
type Info struct{}
func (Info) GetDescription ¶
func (cmd Info) GetDescription() command.Description
func (Info) SetFlagDefinitions ¶
func (cmd Info) SetFlagDefinitions( flagSet interfaces.CLIFlagDefinitions, )
type InfoPivyAgent ¶
type InfoPivyAgent struct{}
func (*InfoPivyAgent) GetArgs ¶
func (cmd *InfoPivyAgent) GetArgs() []command.ArgGroup
GetArgs returns nil: no positional arguments.
func (InfoPivyAgent) GetDescription ¶
func (cmd InfoPivyAgent) GetDescription() command.Description
func (InfoPivyAgent) Run ¶
func (cmd InfoPivyAgent) Run(req command.Request)
type InfoRepo ¶
type InfoRepo struct {
command_components_dodder.EnvRepo
}
func (InfoRepo) Complete ¶
func (InfoRepo) GetDescription ¶
func (cmd InfoRepo) GetDescription() command.Description
type InfoSSHAgent ¶
type InfoSSHAgent struct{}
func (*InfoSSHAgent) GetArgs ¶
func (cmd *InfoSSHAgent) GetArgs() []command.ArgGroup
GetArgs returns nil: no positional arguments.
func (InfoSSHAgent) GetDescription ¶
func (cmd InfoSSHAgent) GetDescription() command.Description
func (InfoSSHAgent) Run ¶
func (cmd InfoSSHAgent) Run(req command.Request)
type InfoWorkspace ¶
type InfoWorkspace struct {
command_components_dodder.LocalWorkingCopy
}
TODO rename to WorkspaceInfo
func (InfoWorkspace) GetDescription ¶
func (cmd InfoWorkspace) GetDescription() command.Description
func (InfoWorkspace) Run ¶
func (cmd InfoWorkspace) Run(req command.Request)
type Init ¶
type Init struct {
command_components_dodder.Genesis
}
func (Init) GetDescription ¶
func (cmd Init) GetDescription() command.Description
func (*Init) SetFlagDefinitions ¶
func (cmd *Init) SetFlagDefinitions(flagSet interfaces.CLIFlagDefinitions)
type InitWorkspace ¶
type InitWorkspace struct {
command_components_dodder.Genesis
repo.ImporterOptions
command_components_dodder.Query
ExperimentalRepo bool
ParentPath string
Haustoria string
EmitInventoryListPath string
DefaultQueryGroup values.String
Proto sku.Proto
// contains filtered or unexported fields
}
func (InitWorkspace) Complete ¶
func (cmd InitWorkspace) Complete( _ command.Request, envLocal env_local.Env, commandLine command.CommandLineInput, )
func (*InitWorkspace) GetArgs ¶
func (cmd *InitWorkspace) GetArgs() []command.ArgGroup
func (InitWorkspace) GetDescription ¶
func (cmd InitWorkspace) GetDescription() command.Description
func (InitWorkspace) Run ¶
func (cmd InitWorkspace) Run(req command.Request)
func (*InitWorkspace) SetFlagDefinitions ¶
func (cmd *InitWorkspace) SetFlagDefinitions( flagSet interfaces.CLIFlagDefinitions, )
type InstallMcp ¶
type InstallMcp struct{}
func (*InstallMcp) GetArgs ¶
func (cmd *InstallMcp) GetArgs() []command.ArgGroup
GetArgs returns nil: no positional arguments.
func (InstallMcp) GetDescription ¶
func (cmd InstallMcp) GetDescription() command.Description
func (InstallMcp) Run ¶
func (cmd InstallMcp) Run(req command.Request)
type Last ¶
type Last struct {
command_components_dodder.InventoryLists
command_components_dodder.LocalWorkingCopy
command_components_dodder.EnvRepo
RepoId ids.RepoId
Edit bool
Organize bool
Format local_working_copy.FormatFlag
}
func (Last) GetDescription ¶
func (cmd Last) GetDescription() command.Description
func (*Last) SetFlagDefinitions ¶
func (cmd *Last) SetFlagDefinitions( flagSet interfaces.CLIFlagDefinitions, )
type Mcp ¶
type Mcp struct {
command_components_dodder.LocalWorkingCopy
}
func (*Mcp) GetArgs ¶
GetArgs returns nil: no positional arguments.
func (Mcp) GetDescription ¶
func (cmd Mcp) GetDescription() command.Description
type Mergetool ¶
type Mergetool struct {
command_components_dodder.LocalWorkingCopyWithQueryGroup
}
func (Mergetool) GetDescription ¶
func (cmd Mergetool) GetDescription() command.Description
type MigrateConfigSeedKey ¶ added in v0.1.10
type MigrateConfigSeedKey struct {
// contains filtered or unexported fields
}
func (*MigrateConfigSeedKey) GetArgs ¶ added in v0.1.10
func (cmd *MigrateConfigSeedKey) GetArgs() []command.ArgGroup
func (MigrateConfigSeedKey) GetDescription ¶ added in v0.1.10
func (cmd MigrateConfigSeedKey) GetDescription() command.Description
func (MigrateConfigSeedKey) Run ¶ added in v0.1.10
func (cmd MigrateConfigSeedKey) Run(req command.Request)
func (*MigrateConfigSeedKey) SetFlagDefinitions ¶ added in v0.1.10
func (cmd *MigrateConfigSeedKey) SetFlagDefinitions( flagSet interfaces.CLIFlagDefinitions, )
type MigrateZettelIds ¶
type MigrateZettelIds struct {
command_components_dodder.LocalWorkingCopy
}
func (*MigrateZettelIds) GetArgs ¶
func (cmd *MigrateZettelIds) GetArgs() []command.ArgGroup
GetArgs returns nil: no positional arguments.
func (MigrateZettelIds) GetDescription ¶
func (cmd MigrateZettelIds) GetDescription() command.Description
func (MigrateZettelIds) Run ¶
func (cmd MigrateZettelIds) Run(req command.Request)
type New ¶
type New struct {
command_components_dodder.LocalWorkingCopy
ids.RepoId
Count int
// TODO combine organize and edit and refactor
command_components_dodder.Checkout
PrintOnly bool
Filter script_value.ScriptValue
Shas bool
sku.Proto
// contains filtered or unexported fields
}
func (New) GetDescription ¶
func (cmd New) GetDescription() command.Description
func (*New) SetFlagDefinitions ¶
func (cmd *New) SetFlagDefinitions(flagSet interfaces.CLIFlagDefinitions)
type Organize ¶
type Organize struct {
command_components_dodder.LocalWorkingCopy
command_components_dodder.Query
Flags orgie.Flags
Mode orgie_mode.Mode
Filter script_value.ScriptValue
// contains filtered or unexported fields
}
Refactor and fold components into userops
func (Organize) Complete ¶
func (Organize) GetDescription ¶
func (cmd Organize) GetDescription() command.Description
func (*Organize) SetFlagDefinitions ¶
func (cmd *Organize) SetFlagDefinitions(flagDef interfaces.CLIFlagDefinitions)
type PeekZettelIds ¶
type PeekZettelIds struct {
command_components_dodder.LocalWorkingCopy
}
func (*PeekZettelIds) GetArgs ¶
func (cmd *PeekZettelIds) GetArgs() []command.ArgGroup
func (PeekZettelIds) GetDescription ¶
func (cmd PeekZettelIds) GetDescription() command.Description
func (PeekZettelIds) Run ¶
func (cmd PeekZettelIds) Run(req command.Request)
type Pull ¶
type Pull struct {
command_components_dodder.LocalWorkingCopy
command_components_dodder.RemoteTransfer
command_components_dodder.Query
}
func (Pull) GetDescription ¶
func (cmd Pull) GetDescription() command.Description
func (*Pull) SetFlagDefinitions ¶
func (cmd *Pull) SetFlagDefinitions(f interfaces.CLIFlagDefinitions)
type PullBlobStore ¶
type PullBlobStore struct {
command_components_dodder.LocalWorkingCopyWithQueryGroup
command_components_dodder.BlobStore
}
func (*PullBlobStore) GetArgs ¶
func (cmd *PullBlobStore) GetArgs() []command.ArgGroup
func (PullBlobStore) GetDescription ¶
func (cmd PullBlobStore) GetDescription() command.Description
func (*PullBlobStore) Run ¶
func (cmd *PullBlobStore) Run( req command.Request, )
func (*PullBlobStore) SetFlagDefinitions ¶
func (cmd *PullBlobStore) SetFlagDefinitions(f interfaces.CLIFlagDefinitions)
type Push ¶
type Push struct {
command_components_dodder.LocalWorkingCopy
command_components_dodder.RemoteTransfer
command_components_dodder.Query
}
func (Push) GetDescription ¶
func (cmd Push) GetDescription() command.Description
func (*Push) SetFlagDefinitions ¶
func (cmd *Push) SetFlagDefinitions(flagSet interfaces.CLIFlagDefinitions)
type Reindex ¶
type Reindex struct {
command_components_dodder.LocalWorkingCopy
}
func (*Reindex) GetArgs ¶
GetArgs returns nil: reindex explicitly rejects positional arguments.
func (Reindex) GetDescription ¶
func (cmd Reindex) GetDescription() command.Description
type RemoteAdd ¶
type RemoteAdd struct {
command_components_dodder.LocalWorkingCopy
command_components_dodder.RemoteTransfer
// contains filtered or unexported fields
}
func (RemoteAdd) GetDescription ¶
func (cmd RemoteAdd) GetDescription() command.Description
func (*RemoteAdd) SetFlagDefinitions ¶
func (cmd *RemoteAdd) SetFlagDefinitions(flagSet interfaces.CLIFlagDefinitions)
type RepoFsck ¶
type RepoFsck struct {
command_components_dodder.LocalWorkingCopy
command_components_dodder.EnvRepo
}
func (RepoFsck) Complete ¶
func (*RepoFsck) GetArgs ¶
GetArgs returns nil: no positional arguments.
func (RepoFsck) GetDescription ¶
func (cmd RepoFsck) GetDescription() command.Description
type Revert ¶
type Revert struct {
command_components_dodder.LocalWorkingCopyWithQueryGroup
Last bool
}
func (Revert) GetDescription ¶
func (cmd Revert) GetDescription() command.Description
func (*Revert) SetFlagDefinitions ¶
func (cmd *Revert) SetFlagDefinitions(f interfaces.CLIFlagDefinitions)
type Serve ¶
type Serve struct {
command_components.Env
command_components_dodder.EnvRepo
command_components_dodder.LocalWorkingCopy
TailscaleTLS bool
// Handshake enables the hashicorp/go-plugin-style handshake. When
// set, the server forces tcp + ephemeral port, prints a single
// pipe-delimited handshake line on stdout
// ("1|1|tcp|127.0.0.1:PORT|dodder-http-v1") after binding, and
// then begins serving. Diagnostic output is routed to stderr so
// stdout stays a single-line protocol channel after the
// handshake. Designed for harnesses (e.g. zz-tests_bats/
// serve.bats per #150) that need to discover the OS-assigned port
// without scraping log lines.
Handshake bool
}
func (Serve) GetDescription ¶
func (cmd Serve) GetDescription() command.Description
func (*Serve) SetFlagDefinitions ¶
func (cmd *Serve) SetFlagDefinitions( flagSet interfaces.CLIFlagDefinitions, )
type Show ¶
type Show struct {
command_components_dodder.EnvRepo
command_components_dodder.LocalWorkingCopy
command_components_dodder.Query
command_components_dodder.RemoteTransfer
After ids.Tai
Before ids.Tai
Format local_working_copy.FormatFlag
RemoteRepo ids.RepoId
// contains filtered or unexported fields
}
func (Show) Complete ¶
func (Show) GetDescription ¶
func (cmd Show) GetDescription() command.Description
func (*Show) SetFlagDefinitions ¶
func (cmd *Show) SetFlagDefinitions(flagSet interfaces.CLIFlagDefinitions)
type Status ¶
type Status struct {
command_components_dodder.LocalWorkingCopyWithQueryGroup
}
func (Status) GetDescription ¶
func (cmd Status) GetDescription() command.Description
type Update ¶
type Update struct {
command_components_dodder.LocalWorkingCopy
command_components_dodder.Query
}
func (Update) GetDescription ¶
func (cmd Update) GetDescription() command.Description
func (*Update) SetFlagDefinitions ¶
func (cmd *Update) SetFlagDefinitions( flagDefinitions interfaces.CLIFlagDefinitions, )
Source Files
¶
- add_zettel_ids.go
- cat_alfred.go
- cat_object.go
- check_workspace.go
- checkin.go
- checkin_blob.go
- checkin_json.go
- checkout.go
- clean.go
- clone.go
- complete.go
- deinit.go
- diff.go
- dormant_add.go
- dormant_edit.go
- dormant_remove.go
- edit.go
- edit_config.go
- exec.go
- export.go
- find_missing.go
- format_blob.go
- format_object.go
- format_organize.go
- fsck.go
- gen.go
- generate_zettel_id_components.go
- import.go
- info.go
- info_pivy_agent.go
- info_repo.go
- info_ssh_agent.go
- info_workspace.go
- init.go
- init_workspace.go
- install_mcp.go
- konfig_edit.go
- last.go
- main.go
- mcp.go
- mergetool.go
- migrate_config_seed_key.go
- migrate_zettel_ids.go
- new.go
- organize.go
- peek_zettel_ids.go
- pull.go
- pull_blob_store.go
- push.go
- reindex.go
- remote_add.go
- repo_fsck.go
- revert.go
- serve.go
- show.go
- status.go
- update.go
- usage.go
- version.go