ci_github

package
v2.20.0-develop.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 7, 2026 License: Apache-2.0 Imports: 2 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL