소스 검색

Renamed project to issues

arianagiroux 3 주 전
부모
커밋
43a490b0a9
9개의 변경된 파일21개의 추가작업 그리고 13개의 파일을 삭제
  1. 11 3
      Readme.md
  2. 3 3
      cmd/issues.go
  3. 1 1
      go.mod
  4. 1 1
      io.go
  5. 1 1
      io_test.go
  6. 1 1
      issue.go
  7. 1 1
      issue_test.go
  8. 1 1
      tui.go
  9. 1 1
      tui_test.go

+ 11 - 3
Readme.md

@@ -1,12 +1,20 @@
-# buggo - a queer little tui for the poor mans issue tracker spec
+# issues - a queer little tui for the poor mans issue tracker spec
 
 ## Usage
 
-`go run cmd/main.go PATH_TO_BUG`
+```
+issues PATH_TO_BUG
+```
+
+## Installation
+
+```
+go install cmd/issues.go
+```
 
 ## TODO
 
-- `cmd/main.go:// TODO implement interface for browse bugs in folder`
+- `cmd/issues.go:// TODO implement interface for browse bugs in folder`
 - `io.go:func WriteIssue(issue Issue) (success bool, err error) { return false, nil } // TODO: implement`
 - `io.go:func DeleteIssue(issue Issue) (success bool, err error) { return false, nil } // TODO: implement`
 - `issue.go:func (i Issue) New(title string, status Field, tags VariadicField, blockedby VariadicField, path string) (issue Issue, err error) { // TODO Implement`

+ 3 - 3
cmd/main.go → cmd/issues.go

@@ -12,7 +12,7 @@ package main
 import (
 	"flag"
 	"fmt"
-	"issho"
+	"issues"
 	"os"
 
 	tea "github.com/charmbracelet/bubbletea"
@@ -22,9 +22,9 @@ func main() {
 	flag.Parse()
 	arg := flag.Args()
 
-	bug, _ := issho.Issue.NewFromPath(issho.Issue{}, arg[0])
+	bug, _ := issues.Issue.NewFromPath(issues.Issue{}, arg[0])
 	p := tea.NewProgram(
-		issho.Model{Issue: bug},
+		issues.Model{Issue: bug},
 		tea.WithAltScreen(), // use the full size of the terminal in its "alternate screen buffer"
 		// tea.WithMouseCellMotion(), // turn on mouse support so we can track the mouse wheel
 	)

+ 1 - 1
go.mod

@@ -1,4 +1,4 @@
-module issho
+module issues
 
 go 1.25.6
 

+ 1 - 1
io.go

@@ -1,4 +1,4 @@
-package issho
+package issues
 
 import (
 	"os"

+ 1 - 1
io_test.go

@@ -1,4 +1,4 @@
-package issho
+package issues
 
 import (
 	"testing"

+ 1 - 1
issue.go

@@ -1,5 +1,5 @@
 // Data and interface definitions for bugs
-package issho
+package issues
 
 import (
 	"os"

+ 1 - 1
issue_test.go

@@ -1,4 +1,4 @@
-package issho
+package issues
 
 import (
 	"testing"

+ 1 - 1
tui.go

@@ -1,4 +1,4 @@
-package issho
+package issues
 
 import (
 	"fmt"

+ 1 - 1
tui_test.go

@@ -1,4 +1,4 @@
-package issho
+package issues
 
 import (
 	"strings"