Versions in this module Expand all Collapse all v0 v0.1.0 Nov 27, 2026 Changes in this version + func BranchName(ctx context.Context, cwd string) (string, error) + type EnvOptions struct + Key *string + Path *string + func (o EnvOptions) Validate() error + func (o EnvOptions) Write(cwd, url string) (EnvResult, error) + func (o EnvOptions) WriteBranch(cwd, fullURL, database string, created bool) (EnvResult, error) + type EnvResult struct + EnvFile string + EnvFileChanged bool + type InstallResult struct + Backup string + Changed bool + Hook string + Installed bool + Note string + func InstallHook(ctx context.Context, cwd string, env EnvOptions, force bool) (InstallResult, error) + type UninstallResult struct + Backup string + Hook string + Removed bool + func UninstallHook(ctx context.Context, cwd string) (UninstallResult, error)