cmd

package
v0.2.2 Latest Latest
Warning

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

Go to latest
Published: May 5, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Overview

Package cmd provides a command-line interface for changing GHAS settings for a given organization.

Package cmd provides a command-line interface for changing GHAS settings for a given organization.

Package cmd provides a command-line interface for changing GHAS settings for a given organization.

Package cmd provides a command-line interface for changing GHAS settings for a given organization.

Copyright © 2023 NAME HERE <EMAIL ADDRESS>

Index

Constants

View Source
const VERSION = "0.1.2"

Variables

This section is empty.

Functions

func CheckAndMigrateCodeScanning

func CheckAndMigrateCodeScanning(repository string, sourceOrg string, targetOrg string, sourceToken string, targetToken string) error

func CheckAndMigrateSecretScanning

func CheckAndMigrateSecretScanning(repository string, sourceOrg string, targetOrg string, sourceToken string, targetToken string) error

func Execute

func Execute()

Execute adds all child commands to the root command and sets flags appropriately. This is called by main.main(). It only needs to happen once to the rootCmd.

func ProcessRepoMigration

func ProcessRepoMigration(repository github.Repository, sourceOrg string, targetOrg string, sourceToken string, targetToken string) error

func ReactivateTargetWorkflows

func ReactivateTargetWorkflows(repository string, sourceOrg string, targetOrg string, sourceToken string, targetToken string) error

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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