Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var RootCmd = &cobra.Command{ Use: "workflow-editor", Run: func(cmd *cobra.Command, args []string) { currentDir, err := filepath.Abs("./") if err != nil { failf("Failed to get current dir, error: %s", err) } bitriseConfigPth := filepath.Join(currentDir, "bitrise.yml") log.Printf("Searching for bitrise.yml at: %s", bitriseConfigPth) if exist, err := pathutil.IsPathExists(bitriseConfigPth); err != nil { failf("Failed to check is bitrise.yml exist, error: %s", err) } else if !exist { failf("No bitrise config (bitrise.yml) found in the current directory") } if err := apiserver.LaunchServer(); err != nil { failf("Failed to start server, error: %s", err) } }, }
RootCmd ...
Functions ¶
This section is empty.
Types ¶
type VersionOutputModel ¶
type VersionOutputModel struct { Version string `json:"version,omitempty"` OS string `json:"os,omitempty"` GO string `json:"go,omitempty"` BuildNumber string `json:"build_number,omitempty"` Commit string `json:"commit,omitempty"` FullVersion bool `json:"-"` }
VersionOutputModel ...
Click to show internal directories.
Click to hide internal directories.