Documentation ¶
Index ¶
- func CloneRepository(ctx context.Context, cloneUrl, projectLocation, appName string) error
- func GenerateGithub(name, description string, ProjectType project_generation.ProjectType, ...) (cloneUrl string, err error)
- func PromptForInput(prompt string) string
- func PushToRepo(ctx context.Context, projectLocation, appName string) error
- func RunGenerateRepo(cmd *cobra.Command, args []string) error
- type GitHubTeam
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CloneRepository ¶
CloneRepository will clone a given repository at a given location, the location is the projectLocation joined with appName
func GenerateGithub ¶
func GenerateGithub(name, description string, ProjectType project_generation.ProjectType, personalAccessToken, branchStrategy string, teamSlugsInput string) (cloneUrl string, err error)
GenerateGithub is the entry point to generating the repository
func PromptForInput ¶
PromptForInput gives a user a message and expect input to be provided
func PushToRepo ¶
PushToRepo will push the contents of a given local directory to a set project remote (.git)
Types ¶
type GitHubTeam ¶ added in v0.52.0
type GitHubTeam struct {
// contains filtered or unexported fields
}
Click to show internal directories.
Click to hide internal directories.