Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var GetReposCmd = &cobra.Command{ Use: "get-repos", Short: "Fetch and filter GitHub repositories from an organization", Long: `Fetch and filter GitHub repositories from an organization. Example: sinaloa github get-repos \ --organization "OrgName" \ --query "-my-repo-,repo-" \ --save-json true \ --save-path-json "/tmp/repos.json"`, Run: func(cmd *cobra.Command, args []string) { result, err := controller.GetRepos( getReposOrganization, getReposQuery, getReposSaveJSON, getReposSavePathJSON, ) if err != nil { fmt.Printf("Error: %v\n", err) return } fmt.Println(string(result)) }, }
View Source
var ReposDeployEnvironmentsCmd = &cobra.Command{ Use: "repos-deploy-environments", Short: "Analyze deployment environments across multiple repositories and projects", Long: `Analyze deployment environments across multiple repositories and projects. Scans repositories, parses manifest files, and generates a comprehensive deployment matrix. Example: sinaloa github repos-deploy-environments \ --organization "OrgName" \ --query "my-repo-,repo-" \ --envs "prod-,qa-,test-" \ --folders "apps,src" \ --save-json true \ --save-path-json "/tmp/deployment-matrix.json"`, Run: func(cmd *cobra.Command, args []string) { result, err := controller.ReposDeployEnvironments( deployEnvsOrganization, deployEnvsQuery, deployEnvsEnvs, deployEnvsManifestSection, deployEnvsManifestName, deployEnvsFolders, deployEnvsSaveJSON, deployEnvsSavePathJSON, ) if err != nil { fmt.Printf("Error: %v\n", err) return } fmt.Println(string(result)) }, }
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.