Initial commit: gtea CLI tool
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>
This commit is contained in:
13
cmd/status.go
Normal file
13
cmd/status.go
Normal file
@@ -0,0 +1,13 @@
|
||||
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")
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user