project

package
v0.7.1 Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2025 License: AGPL-3.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckInitiatFileExists added in v0.5.0

func CheckInitiatFileExists() (bool, error)

func CreateInitiatFile added in v0.5.0

func CreateInitiatFile(orgSlug, projectSlug string) error

func GetDefaultProjectName added in v0.5.0

func GetDefaultProjectName() (string, error)

func GetProjectContext

func GetProjectContext(projectPath, org, project string) (*config.ProjectContext, error)

func InitializeProjectKey added in v0.5.0

func InitializeProjectKey(
	c *client.Client, store *storage.Storage, project *types.Project, orgSlug, projectSlug string,
) error

func PromptForOrganization added in v0.5.0

func PromptForOrganization() (string, error)

func PromptForProjectName added in v0.5.0

func PromptForProjectName() (string, error)

Types

type SetupDetails added in v0.5.0

type SetupDetails struct {
	OrgSlug     string
	ProjectSlug string
}

type SetupResult added in v0.5.0

type SetupResult struct {
	Success        bool
	ProjectCreated bool
	KeyInitialized bool
	Message        string
}

func SetupProject added in v0.5.0

func SetupProject(details SetupDetails) (*SetupResult, error)

Jump to

Keyboard shortcuts

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