Documentation ¶
Index ¶
- Constants
- Variables
- func CreateDir(directory string) bool
- func Directory() string
- func Exists(filename string) bool
- func IsInstalled(command string) bool
- func IsSymbolic(filename string) bool
- func PluginDirectory(plugin string) string
- func Valid(filename string) bool
- type Command
- type PluginNotFoundError
- type Printer
Constants ¶
View Source
const BinaryName = "runcom"
View Source
const Name = "Runcom"
Variables ¶
View Source
var BackupCommand = &cobra.Command{ Use: "backup", Short: "Backup configuration to storage", Long: `Filler`, Run: func(cmd *cobra.Command, args []string) { }, }
View Source
var ConnectCommand = &cobra.Command{ Use: "connect", Short: "Connect to GitHub", Long: `Filler`, Run: func(cmd *cobra.Command, args []string) { }, }
View Source
var GetCommand = &cobra.Command{ Use: "get", Short: "Fetch repository", Long: `Filler`, Run: func(cmd *cobra.Command, args []string) { }, }
View Source
var PackCommand = &cobra.Command{ Use: "pack", Short: "Pack storage to compressed file", Long: `Filler`, Run: func(cmd *cobra.Command, args []string) { }, }
View Source
var PruneCommand = &cobra.Command{ Use: "prune", Short: "Remove stuff not in storage", Long: `Filler`, Run: func(cmd *cobra.Command, args []string) { }, }
View Source
var PushCommand = &cobra.Command{ Use: "push", Short: "Upload repository", Long: `Filler`, Run: func(cmd *cobra.Command, args []string) { }, }
View Source
var RestoreCommand = &cobra.Command{ Use: "restore", Short: "Restore configuration from storage", Long: `Filler`, Run: func(cmd *cobra.Command, args []string) { }, }
View Source
var UnpackCommand = &cobra.Command{ Use: "unpack", Short: "Open compressed storage", Long: `Filler`, Run: func(cmd *cobra.Command, args []string) { }, }
Add to plugins?
Functions ¶
func IsInstalled ¶
func IsSymbolic ¶
func PluginDirectory ¶
Types ¶
type Command ¶
type Command struct {
// contains filtered or unexported fields
}
func NewCommand ¶
type PluginNotFoundError ¶
type PluginNotFoundError string
func (PluginNotFoundError) Error ¶
func (e PluginNotFoundError) Error() string
Click to show internal directories.
Click to hide internal directories.