Documentation
¶
Index ¶
- func GetOpenCmdAndArgs(z *lib.Zettel, path string) (cmd string, args []string)
- type CommandRunFunc
- func GetSubcommandAdd(f *flag.FlagSet) CommandRunFunc
- func GetSubcommandAutocomplete(f *flag.FlagSet) CommandRunFunc
- func GetSubcommandCat(f *flag.FlagSet) CommandRunFunc
- func GetSubcommandClean(f *flag.FlagSet) CommandRunFunc
- func GetSubcommandEdit(f *flag.FlagSet) CommandRunFunc
- func GetSubcommandNew(f *flag.FlagSet) CommandRunFunc
- func GetSubcommandOpen(f *flag.FlagSet) CommandRunFunc
- func GetSubcommandPrint(f *flag.FlagSet) CommandRunFunc
- func GetSubcommandRm(f *flag.FlagSet) CommandRunFunc
- type Env
- type NullPutter
- type Processor
- type ProcessorAction
- type Putter
- type PutterChannel
- type StdoutPutter
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type CommandRunFunc ¶
func GetSubcommandAdd ¶
func GetSubcommandAdd(f *flag.FlagSet) CommandRunFunc
func GetSubcommandAutocomplete ¶
func GetSubcommandAutocomplete(f *flag.FlagSet) CommandRunFunc
func GetSubcommandCat ¶ added in v0.0.1
func GetSubcommandCat(f *flag.FlagSet) CommandRunFunc
func GetSubcommandClean ¶
func GetSubcommandClean(f *flag.FlagSet) CommandRunFunc
func GetSubcommandEdit ¶
func GetSubcommandEdit(f *flag.FlagSet) CommandRunFunc
func GetSubcommandNew ¶
func GetSubcommandNew(f *flag.FlagSet) CommandRunFunc
func GetSubcommandOpen ¶
func GetSubcommandOpen(f *flag.FlagSet) CommandRunFunc
func GetSubcommandPrint ¶
func GetSubcommandPrint(f *flag.FlagSet) CommandRunFunc
func GetSubcommandRm ¶
func GetSubcommandRm(f *flag.FlagSet) CommandRunFunc
type NullPutter ¶
type NullPutter struct {
Channel PutterChannel
}
func (*NullPutter) GetChannel ¶
func (p *NullPutter) GetChannel() PutterChannel
func (*NullPutter) Print ¶
func (p *NullPutter) Print()
type Processor ¶
type Processor struct {
// contains filtered or unexported fields
}
func MakeProcessor ¶
func (*Processor) ActionZettel ¶ added in v0.0.1
func (*Processor) HydrateFile ¶ added in v0.0.1
type Putter ¶
type Putter interface { GetChannel() PutterChannel Print() }
func MakePutter ¶
func MakePutter() (putter Putter)
type PutterChannel ¶
type StdoutPutter ¶
type StdoutPutter struct {
// contains filtered or unexported fields
}
func (*StdoutPutter) GetChannel ¶
func (p *StdoutPutter) GetChannel() PutterChannel
func (*StdoutPutter) Print ¶
func (p *StdoutPutter) Print()
func (*StdoutPutter) PrintZettel ¶
func (p *StdoutPutter) PrintZettel(z *lib.Zettel)
Click to show internal directories.
Click to hide internal directories.