Documentation
¶
Index ¶
- func CompleteAction(app *cli.Command) cli.ActionFunc
- func ConfigureShellCompletionCommand(cmd *cli.Command)
- func MakePoolRun(pool *Pool) ...
- func MakePoolWait(pool *Pool) ...
- func SindrBoolFlag(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func SindrCLI(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func SindrCommand(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func SindrDotenv(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func SindrExec(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func SindrGlob(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func SindrIntArg(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func SindrIntFlag(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func SindrIntSliceFlag(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func SindrLoadPackageJson(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func SindrNewestTS(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func SindrOldestTS(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func SindrPool(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func SindrShell(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func SindrStart(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func SindrString(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func SindrStringArg(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func SindrStringFlag(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func SindrStringSliceFlag(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func SindrSubCommand(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- func SindrWait(thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, ...) (starlark.Value, error)
- type Arg
- type CLI
- type Command
- type Completion
- type Context
- type Flag
- type FlagMap
- func (m *FlagMap) Attr(name string) (starlark.Value, error)
- func (m *FlagMap) AttrNames() []string
- func (m *FlagMap) Freeze()
- func (m *FlagMap) Get(value starlark.Value) (v starlark.Value, found bool, err error)
- func (m *FlagMap) Hash() (uint32, error)
- func (m *FlagMap) Index(i starlark.Value) (starlark.Value, error)
- func (m *FlagMap) String() string
- func (m *FlagMap) Truth() starlark.Bool
- func (m *FlagMap) Type() string
- type PackageJson
- type Pool
- type ShellResult
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CompleteAction ¶ added in v0.0.9
func CompleteAction(app *cli.Command) cli.ActionFunc
func ConfigureShellCompletionCommand ¶ added in v0.0.9
func MakePoolRun ¶
func MakePoolWait ¶
func SindrBoolFlag ¶ added in v0.0.10
func SindrCommand ¶
func SindrDotenv ¶
func SindrGlob ¶
func SindrGlob( thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, kwargs []starlark.Tuple, ) (starlark.Value, error)
SindrGlob returns a list of file paths that match the given glob pattern(s).
func SindrIntArg ¶ added in v0.0.10
func SindrIntFlag ¶ added in v0.0.10
func SindrIntSliceFlag ¶ added in v0.0.10
func SindrLoadPackageJson ¶
func SindrNewestTS ¶
func SindrNewestTS( thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, kwargs []starlark.Tuple, ) (starlark.Value, error)
SindrNewestTS finds the newest modification time among files matching the given globs.
func SindrOldestTS ¶
func SindrOldestTS( thread *starlark.Thread, fn *starlark.Builtin, args starlark.Tuple, kwargs []starlark.Tuple, ) (starlark.Value, error)
SindrOldestTS finds the oldest modification time among files matching the given globs.
func SindrShell ¶
func SindrStart ¶
func SindrString ¶
func SindrStringArg ¶ added in v0.0.10
func SindrStringFlag ¶ added in v0.0.10
func SindrStringSliceFlag ¶ added in v0.0.10
func SindrSubCommand ¶
Types ¶
type Completion ¶ added in v0.0.9
type Completion struct{ Text, Desc string }
func ComputeCompletions ¶ added in v0.0.9
func ComputeCompletions(app *cli.Command, tokens []string, curtok string) []Completion
type Context ¶
func NewContext ¶ added in v0.0.7
func NewContext(flags, args starlark.StringDict, argsSlice *starlark.List) *Context
type FlagMap ¶
type FlagMap struct {
// contains filtered or unexported fields
}
FlagMap allows both dot-access and index-access to flags:
ctx.flags["some-flag"] --> works ctx.flags.some_flag --> also works (mapped from key "some-flag")
func NewFlagMap ¶
func NewFlagMap(d starlark.StringDict) *FlagMap
type PackageJson ¶
type ShellResult ¶
func StartShellCmd ¶
func (ShellResult) AttrNames ¶
func (s ShellResult) AttrNames() []string
func (ShellResult) Freeze ¶
func (s ShellResult) Freeze()
func (ShellResult) Hash ¶
func (s ShellResult) Hash() (uint32, error)
func (ShellResult) String ¶
func (s ShellResult) String() string
func (ShellResult) Truth ¶
func (s ShellResult) Truth() starlark.Bool
func (ShellResult) Type ¶
func (s ShellResult) Type() string
Source Files
¶
Click to show internal directories.
Click to hide internal directories.