Skip to content

Commit 102cfdb

Browse files
committed
Rearrange the order of command initialization
1 parent 5e3aa31 commit 102cfdb

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

command/issue.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ import (
2323
func init() {
2424
RootCmd.AddCommand(issueCmd)
2525
issueCmd.AddCommand(issueStatusCmd)
26-
issueCmd.AddCommand(issueViewCmd)
2726

2827
issueCmd.AddCommand(issueCreateCmd)
2928
issueCreateCmd.Flags().StringP("title", "t", "",
@@ -39,6 +38,7 @@ func init() {
3938
issueListCmd.Flags().IntP("limit", "L", 30, "Maximum number of issues to fetch")
4039
issueListCmd.Flags().StringP("author", "A", "", "Filter by author")
4140

41+
issueCmd.AddCommand(issueViewCmd)
4242
issueViewCmd.Flags().BoolP("preview", "p", false, "Display preview of issue content")
4343
}
4444

0 commit comments

Comments
 (0)