Documentation ¶
Overview ¶
Package internal
Package internal ¶
Package internal ¶
Package internal ¶
Package internal ¶
Package internal ¶
Package internal ¶
Package internal
Index ¶
Constants ¶
This section is empty.
Variables ¶
var ClaroConfigStrings = &ClaroCfg{
Version: 1,
Message: "This project has been graded. The file containing the grade is located in the root directory.",
Filename: "GRADING.md",
Title: "Feedback",
Grade: "Grade: ",
}
Functions ¶
func AddTokenToKeyring ¶
func AddTokenToKeyring()
AddTokenToKeyring adds a GitHub Personal Access Token to the OS keyring.
func DeleteTokenFromKeyring ¶
func DeleteTokenFromKeyring()
DeleteTokenFromKeyring deletes the GitHub Personal Access Token from the OS keyring.
func GetAndSaveToken ¶
func GetAndSaveToken() string
GetAndSaveToken retrieves the GitHub Personal Access Token from the OS keyring. Returns the GitHub Personal Access Token.
Types ¶
type CloneModel ¶
type CloneModel struct {
// contains filtered or unexported fields
}
CloneModel represents the model for the clone command
func (CloneModel) Init ¶
func (m CloneModel) Init() tea.Cmd
func (CloneModel) View ¶
func (m CloneModel) View() string
type PullModel ¶
type PullModel struct {
// contains filtered or unexported fields
}
func NewPullModel ¶
func (PullModel) View ¶
View renders the current view of the PullModel based on its state.
If the state is `pullDir` and repositories are available, it will display the current repository being processed. If all repositories have been pulled, it will display a message indicating the total number of repositories pulled.
Returns a string representing the current view of the PullModel.
type PushModel ¶
type PushModel struct {
// contains filtered or unexported fields
}