Versions in this module Expand all Collapse all v0 v0.2.0 Jan 1, 2025 Changes in this version + func ChdirFlag(cmd *cobra.Command, opts *ChdirOptions, value string) error + type ChdirOptions struct + func NewChdirOptions(d string) ChdirOptions + func (o ChdirOptions) Chdir(ctx context.Context) error + func (o ChdirOptions) Cwd(ctx context.Context) (Directory, error) + type Directory string + func Cwd() (work Directory, err error) + func Git(ctx context.Context) (work Directory, err error) + func Load(ctx context.Context) (work Directory, err error) + func (c Directory) Path() string