Documentation
¶
Index ¶
- func GetUtility(name string) command.Utility
- type CatAlfred
- type Checkin
- type CheckinBlob
- type CheckinJson
- type Checkout
- type Clean
- type Clone
- type Complete
- type Deinit
- type Diff
- type DormantAdd
- type DormantEdit
- type DormantRemove
- type Edit
- type EditConfig
- type Exec
- type Export
- type FindMissing
- type FormatBlob
- type FormatObject
- type FormatOrganize
- type Fsck
- type Gen
- type GenerateZettelIdComponents
- type Import
- type Info
- type InfoPivyAgent
- type InfoRepo
- type InfoSSHAgent
- type InfoWorkspace
- type Init
- type InitWorkspace
- type Last
- type Mergetool
- type New
- type Organize
- 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
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CatAlfred ¶
type CatAlfred struct {
command_components_dodder.LocalWorkingCopyWithQueryGroup
genres.Genre
}
func (*CatAlfred) SetFlagDefinitions ¶
func (cmd *CatAlfred) SetFlagDefinitions( flagDefinitions interfaces.CLIFlagDefinitions, )
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) 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) 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) 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) SetFlagDefinitions ¶
func (cmd *Checkout) SetFlagDefinitions( flagDefinitions interfaces.CLIFlagDefinitions, )
type Clean ¶
type Clean struct {
command_components_dodder.LocalWorkingCopyWithQueryGroup
// contains filtered or unexported fields
}
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) 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) 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) SetFlagDefinitions ¶
func (cmd *Diff) SetFlagDefinitions(f interfaces.CLIFlagDefinitions)
type DormantAdd ¶
type DormantAdd struct {
command_components_dodder.LocalWorkingCopy
}
func (DormantAdd) Run ¶
func (cmd DormantAdd) Run(dep command.Request)
type DormantEdit ¶
type DormantEdit struct {
command_components_dodder.LocalWorkingCopy
}
func (DormantEdit) Run ¶
func (cmd DormantEdit) Run(req command.Request)
type DormantRemove ¶
type DormantRemove struct {
command_components_dodder.LocalWorkingCopy
}
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) SetFlagDefinitions ¶
func (cmd *Edit) SetFlagDefinitions(flagSet interfaces.CLIFlagDefinitions)
type EditConfig ¶
type EditConfig struct {
command_components_dodder.LocalWorkingCopy
}
func (EditConfig) Run ¶
func (cmd EditConfig) Run( req command.Request, )
type Exec ¶
type Exec struct {
command_components_dodder.LocalWorkingCopy
}
type Export ¶
type Export struct {
command_components_dodder.LocalWorkingCopyWithQueryGroup
AgeIdentity age.Identity
CompressionType compression_type.CompressionType
}
func (*Export) SetFlagDefinitions ¶
func (cmd *Export) SetFlagDefinitions(f interfaces.CLIFlagDefinitions)
type FindMissing ¶
type FindMissing struct {
command_components_dodder.LocalWorkingCopy
}
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) 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) 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 organize_text.Flags
}
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
}
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) SetFlagDefinitions ¶
func (cmd *Fsck) SetFlagDefinitions(flagSet interfaces.CLIFlagDefinitions)
type Gen ¶
type Gen struct{}
func (Gen) SetFlagDefinitions ¶
func (cmd Gen) SetFlagDefinitions(flagSet interfaces.CLIFlagDefinitions)
type GenerateZettelIdComponents ¶
type GenerateZettelIdComponents struct{}
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_madder.BlobStore
command_components_madder.Complete
repo.ImporterOptions
Proto sku.Proto
BlobStoreId blob_store_id.Id
}
func (*Import) SetFlagDefinitions ¶
func (cmd *Import) SetFlagDefinitions( flagDefinitions interfaces.CLIFlagDefinitions, )
type Info ¶
type Info struct{}
func (Info) SetFlagDefinitions ¶
func (cmd Info) SetFlagDefinitions( flagSet interfaces.CLIFlagDefinitions, )
type InfoPivyAgent ¶
type InfoPivyAgent struct{}
func (InfoPivyAgent) Run ¶
func (cmd InfoPivyAgent) Run(req command.Request)
type InfoRepo ¶
type InfoRepo struct {
command_components_dodder.EnvRepo
}
func (InfoRepo) Complete ¶
type InfoSSHAgent ¶
type InfoSSHAgent struct{}
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) Run ¶
func (cmd InfoWorkspace) Run(req command.Request)
type Init ¶
type Init struct {
command_components_dodder.Genesis
}
func (*Init) SetFlagDefinitions ¶
func (cmd *Init) SetFlagDefinitions(flagSet interfaces.CLIFlagDefinitions)
type InitWorkspace ¶
type InitWorkspace struct {
command_components.Env
command_components_dodder.LocalWorkingCopy
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) Run ¶
func (cmd InitWorkspace) Run(req command.Request)
func (*InitWorkspace) SetFlagDefinitions ¶
func (cmd *InitWorkspace) SetFlagDefinitions( flagSet interfaces.CLIFlagDefinitions, )
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) SetFlagDefinitions ¶
func (cmd *Last) SetFlagDefinitions( flagSet interfaces.CLIFlagDefinitions, )
type Mergetool ¶
type Mergetool struct {
command_components_dodder.LocalWorkingCopyWithQueryGroup
}
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) SetFlagDefinitions ¶
func (cmd *New) SetFlagDefinitions(flagSet interfaces.CLIFlagDefinitions)
type Organize ¶
type Organize struct {
command_components_dodder.LocalWorkingCopy
command_components_dodder.Query
Flags organize_text.Flags
Mode organize_text_mode.Mode
Filter script_value.ScriptValue
// contains filtered or unexported fields
}
Refactor and fold components into userops
func (Organize) Complete ¶
func (*Organize) SetFlagDefinitions ¶
func (cmd *Organize) SetFlagDefinitions(flagDef interfaces.CLIFlagDefinitions)
type PeekZettelIds ¶
type PeekZettelIds struct {
command_components_dodder.LocalWorkingCopy
}
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) SetFlagDefinitions ¶
func (cmd *Pull) SetFlagDefinitions(f interfaces.CLIFlagDefinitions)
type PullBlobStore ¶
type PullBlobStore struct {
command_components_dodder.LocalWorkingCopyWithQueryGroup
command_components_madder.BlobStore
}
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) SetFlagDefinitions ¶
func (cmd *Push) SetFlagDefinitions(flagSet interfaces.CLIFlagDefinitions)
type Reindex ¶
type Reindex struct {
command_components_dodder.LocalWorkingCopy
}
type RemoteAdd ¶
type RemoteAdd struct {
command_components_dodder.LocalWorkingCopy
command_components_dodder.RemoteTransfer
// contains filtered or unexported fields
}
func (*RemoteAdd) SetFlagDefinitions ¶
func (cmd *RemoteAdd) SetFlagDefinitions(flagSet interfaces.CLIFlagDefinitions)
type RepoFsck ¶
type RepoFsck struct {
command_components_dodder.LocalWorkingCopy
command_components_dodder.EnvRepo
command_components_madder.BlobStore
}
type Revert ¶
type Revert struct {
command_components_dodder.LocalWorkingCopyWithQueryGroup
Last bool
}
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
}
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) SetFlagDefinitions ¶
func (cmd *Show) SetFlagDefinitions(flagSet interfaces.CLIFlagDefinitions)
type Status ¶
type Status struct {
command_components_dodder.LocalWorkingCopyWithQueryGroup
}
type Update ¶
type Update struct {
command_components_dodder.LocalWorkingCopy
command_components_dodder.Query
}
func (*Update) SetFlagDefinitions ¶
func (cmd *Update) SetFlagDefinitions( flagDefinitions interfaces.CLIFlagDefinitions, )
Source Files
¶
- cat_alfred.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
- last.go
- main.go
- mergetool.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
Click to show internal directories.
Click to hide internal directories.