Documentation
¶
Overview ¶
Copyright © 2025 NAME HERE <EMAIL ADDRESS>
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var CiGithubCmd = &cobra.Command{ Use: "ci-github", Aliases: []string{"ci-gh"}, Short: "Manage GitHub Actions CI configuration", Long: `Manage GitHub Actions CI configuration for Geol. By default, this command generates a GitHub Actions workflow (equivalent to 'ci-github init'). Available subcommands: - init: Generate a ready to use GitHub Actions workflow file (default)`, Run: func(cmd *cobra.Command, args []string) { InitCmd.Run(cmd, args) }, }
CiGithubCmd represents the ci-github command
View Source
var InitCmd = &cobra.Command{ Use: "init", Aliases: []string{"i"}, Short: "Generate a ready to use GitHub Actions workflow file for ci-github command", Long: `The init command generates a GitHub Actions workflow file for the ci-github command. Use this command to create a starter workflow that you can customize for your environment. You can specify the output path with the --output flag. Use --force to overwrite an existing file.`, Example: `geol ci-github init geol ci-github init --output .github/workflows/geol-check.yml geol ci-github init --output .github/workflows/geol-check.yml --force`, Run: func(cmd *cobra.Command, args []string) { output, _ := cmd.Flags().GetString("output") force, _ := cmd.Flags().GetBool("force") templates.GenerateCGithubTemplate(output, force) }, }
InitCmd represents the init command
Functions ¶
This section is empty.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.