Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Args ¶
type Args struct {
Danger *DangerArgs `arg:"subcommand:danger|!"`
Import *ImportArgs `arg:"subcommand:import|im" help:"import a plan or group"`
Init *InitArgs `arg:"subcommand:init" help:"create dotato.yaml file"`
Export *ExportArgs `arg:"subcommand:export|ex" help:"export a plan or group"`
Unlink *UnlinkArgs `arg:"subcommand:unlink|un" help:"unlink a plan or group"`
Version *VersionArgs `arg:"subcommand:version|v" help:"show version"`
Where *WhereArgs `arg:"subcommand:where|w" help:"show component location"`
}
type DangerArgs ¶
type DangerArgs struct {
Unlink *DangerUnlinkArgs `arg:"subcommand:unlink" help:"unlink all links in the current system"`
}
type DangerUnlinkArgs ¶
type DangerUnlinkArgs struct {
Yes bool `arg:"-y,--yes" help:"skip confirmation"`
No bool `arg:"-n,--no" help:"exit on confirmation"`
ViewAll bool `arg:"-a,--view-all" help:"view all files"`
FilePerm int `arg:"-f,--file-perm" help:"create file with permission" default:"0644"`
DirPerm int `arg:"-d,--dir-perm" help:"create directory with permission" default:"0755"`
}
type ExportArgs ¶
type ExportArgs struct {
Plan *ExportPlanArgs `arg:"subcommand:plan|p" help:"export dotfiles in a plan"`
Group *ExportGroupArgs `arg:"subcommand:group|g" help:"export dotfiles in a group"`
}
type ExportGroupArgs ¶
type ExportGroupArgs struct {
Group string `arg:"positional,required" help:"group name"`
Resolver string `arg:"positional,required" help:"resolver name"`
Yes bool `arg:"-y,--yes" help:"skip confirmation"`
No bool `arg:"-n,--no" help:"exit on confirmation"`
ViewAll bool `arg:"-a,--view-all" help:"view all files"`
FilePerm int `arg:"-f,--file-perm" help:"create file with permission" default:"0644"`
DirPerm int `arg:"-d,--dir-perm" help:"create directory with permission" default:"0755"`
}
type ExportPlanArgs ¶
type ExportPlanArgs struct {
Plan string `arg:"positional,required" help:"plan name"`
Resolver string `arg:"positional,required" help:"resolver name"`
Yes bool `arg:"-y,--yes" help:"skip confirmation"`
No bool `arg:"-n,--no" help:"exit on confirmation"`
ViewAll bool `arg:"-a,--view-all" help:"view all files"`
FilePerm int `arg:"-f,--file-perm" help:"create file with permission" default:"0644"`
DirPerm int `arg:"-d,--dir-perm" help:"create directory with permission" default:"0755"`
}
type ImportArgs ¶
type ImportArgs struct {
Plan *ImportPlanArgs `arg:"subcommand:plan|p" help:"Import dotfiles in a plan"`
Group *ImportGroupArgs `arg:"subcommand:group|g" help:"Import dotfiles in a group"`
}
type ImportGroupArgs ¶
type ImportGroupArgs struct {
Group string `arg:"positional,required" help:"group name"`
Resolver string `arg:"positional,required" help:"resolver name"`
Yes bool `arg:"-y,--yes" help:"skip confirmation"`
No bool `arg:"-n,--no" help:"exit on confirmation"`
ViewAll bool `arg:"-a,--view-all" help:"view all files"`
FilePerm int `arg:"-f,--file-perm" help:"create file with permission" default:"0644"`
DirPerm int `arg:"-d,--dir-perm" help:"create directory with permission" default:"0755"`
}
type ImportPlanArgs ¶
type ImportPlanArgs struct {
Plan string `arg:"positional,required" help:"plan name"`
Resolver string `arg:"positional,required" help:"resolver name"`
Yes bool `arg:"-y,--yes" help:"skip confirmation"`
No bool `arg:"-n,--no" help:"exit on confirmation"`
ViewAll bool `arg:"-a,--view-all" help:"view all files"`
FilePerm int `arg:"-f,--file-perm" help:"create file with permission" default:"0644"`
DirPerm int `arg:"-d,--dir-perm" help:"create directory with permission" default:"0755"`
}
type UnlinkArgs ¶
type UnlinkArgs struct {
Plan *UnlinkPlanArgs `arg:"subcommand:plan|p"`
Group *UnlinkGroupArgs `arg:"subcommand:group|g"`
}
type UnlinkGroupArgs ¶
type UnlinkGroupArgs struct {
Group string `arg:"positional,required" help:"group name"`
Resolver string `arg:"positional,required" help:"resolver name"`
Yes bool `arg:"-y,--yes" help:"skip confirmation"`
No bool `arg:"-n,--no" help:"skip confirmation"`
ViewAll bool `arg:"-a,--view-all" help:"view all files"`
FilePerm int `arg:"-f,--file-perm" help:"create file with permission" default:"0644"`
DirPerm int `arg:"-d,--dir-perm" help:"create directory with permission" default:"0755"`
}
type UnlinkPlanArgs ¶
type UnlinkPlanArgs struct {
Plan string `arg:"positional,required" help:"plan name"`
Resolver string `arg:"positional,required" help:"resolver name"`
Yes bool `arg:"-y,--yes" help:"skip confirmation"`
No bool `arg:"-n,--no" help:"skip confirmation"`
ViewAll bool `arg:"-a,--view-all" help:"view all files"`
FilePerm int `arg:"-f,--file-perm" help:"create file with permission" default:"0644"`
DirPerm int `arg:"-d,--dir-perm" help:"create directory with permission" default:"0755"`
}
type VersionArgs ¶
type VersionArgs struct{}
type WhereArgs ¶
type WhereArgs struct {
State *WhereStateArgs `arg:"subcommand:state|s"`
}
type WhereStateArgs ¶
type WhereStateArgs struct{}
Click to show internal directories.
Click to hide internal directories.