Go CLI that wraps the Gitea API and git to create repos, commit, push, and pull without leaving the terminal. Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
14 lines
245 B
Go
14 lines
245 B
Go
package cmd
|
|
|
|
import (
|
|
"github.com/spf13/cobra"
|
|
)
|
|
|
|
var statusCmd = &cobra.Command{
|
|
Use: "status",
|
|
Short: "Show git status of the current directory",
|
|
RunE: func(cmd *cobra.Command, args []string) error {
|
|
return runGit(".", "status")
|
|
},
|
|
}
|