Versions in this module Expand all Collapse all v1 v1.7.4 Feb 6, 2025 Changes in this version + const APP + const COMMAND + const CTX + const FLAG + func AppFunc(ctx context.Context, args ...object.Object) object.Object + func CommandFunc(ctx context.Context, args ...object.Object) object.Object + func FlagFunc(ctx context.Context, args ...object.Object) object.Object + func Module() *object.Module + type App struct + func NewApp(opts *object.Map) (*App, error) + func (app *App) Cost() int + func (app *App) Equals(other object.Object) object.Object + func (app *App) GetAttr(name string) (object.Object, bool) + func (app *App) Inspect() string + func (app *App) Interface() interface{} + func (app *App) IsTruthy() bool + func (app *App) MarshalJSON() ([]byte, error) + func (app *App) RunOperation(opType op.BinaryOpType, right object.Object) object.Object + func (app *App) SetAttr(name string, value object.Object) error + func (app *App) Type() object.Type + type Command struct + func NewCommand(c *ucli.Command) *Command + func (c *Command) Cost() int + func (c *Command) Equals(other object.Object) object.Object + func (c *Command) GetAttr(name string) (object.Object, bool) + func (c *Command) Inspect() string + func (c *Command) Interface() interface{} + func (c *Command) IsTruthy() bool + func (c *Command) MarshalJSON() ([]byte, error) + func (c *Command) RunOperation(opType op.BinaryOpType, right object.Object) object.Object + func (c *Command) SetAttr(name string, value object.Object) error + func (c *Command) Type() object.Type + type Ctx struct + func NewCtx(c *ucli.Context) *Ctx + func (c *Ctx) Cost() int + func (c *Ctx) Equals(other object.Object) object.Object + func (c *Ctx) GetAttr(name string) (object.Object, bool) + func (c *Ctx) Inspect() string + func (c *Ctx) Interface() interface{} + func (c *Ctx) IsTruthy() bool + func (c *Ctx) MarshalJSON() ([]byte, error) + func (c *Ctx) RunOperation(opType op.BinaryOpType, right object.Object) object.Object + func (c *Ctx) SetAttr(name string, value object.Object) error + func (c *Ctx) Type() object.Type + type Flag struct + func NewFlag(f ucli.Flag) *Flag + func (f *Flag) Cost() int + func (f *Flag) Equals(other object.Object) object.Object + func (f *Flag) GetAttr(name string) (object.Object, bool) + func (f *Flag) Inspect() string + func (f *Flag) Interface() interface{} + func (f *Flag) IsTruthy() bool + func (f *Flag) MarshalJSON() ([]byte, error) + func (f *Flag) RunOperation(opType op.BinaryOpType, right object.Object) object.Object + func (f *Flag) SetAttr(name string, value object.Object) error + func (f *Flag) Type() object.Type