update gqlgen

Michael Muré created

Change summary

api/graphql/graph/gen_graph.go          | 367 ++++++++++++++++----------
doc/man/git-bug-add.1                   |  20 
doc/man/git-bug-bridge-auth-add-token.1 |  22 
doc/man/git-bug-bridge-auth-rm.1        |  10 
doc/man/git-bug-bridge-auth-show.1      |  10 
doc/man/git-bug-bridge-auth.1           |  10 
doc/man/git-bug-bridge-configure.1      |  72 ++--
doc/man/git-bug-bridge-pull.1           |  14 
doc/man/git-bug-bridge-push.1           |  10 
doc/man/git-bug-bridge-rm.1             |  10 
doc/man/git-bug-bridge.1                |  10 
doc/man/git-bug-commands.1              |  12 
doc/man/git-bug-comment-add.1           |  18 
doc/man/git-bug-comment-edit.1          |  18 
doc/man/git-bug-comment.1               |  10 
doc/man/git-bug-deselect.1              |  10 
doc/man/git-bug-label-add.1             |  10 
doc/man/git-bug-label-rm.1              |  10 
doc/man/git-bug-label.1                 |  10 
doc/man/git-bug-ls-id.1                 |  12 
doc/man/git-bug-ls-label.1              |  12 
doc/man/git-bug-ls.1                    |  42 +-
doc/man/git-bug-pull.1                  |  10 
doc/man/git-bug-push.1                  |  10 
doc/man/git-bug-rm.1                    |  10 
doc/man/git-bug-select.1                |  10 
doc/man/git-bug-show.1                  |  16 
doc/man/git-bug-status-close.1          |  10 
doc/man/git-bug-status-open.1           |  10 
doc/man/git-bug-status.1                |  10 
doc/man/git-bug-termui.1                |  10 
doc/man/git-bug-title-edit.1            |  14 
doc/man/git-bug-title.1                 |  10 
doc/man/git-bug-user-adopt.1            |  10 
doc/man/git-bug-user-create.1           |  18 
doc/man/git-bug-user-ls.1               |  12 
doc/man/git-bug-user.1                  |  12 
doc/man/git-bug-version.1               |  18 
doc/man/git-bug-webui.1                 |  26 
doc/man/git-bug.1                       |  16 
go.mod                                  |   5 
go.sum                                  |  45 +-
misc/bash_completion/git-bug            |  47 ++-
misc/fish_completion/git-bug            | 178 ++++++------
misc/powershell_completion/git-bug      |  38 +-
misc/zsh_completion/git-bug             |  54 ++-
46 files changed, 715 insertions(+), 603 deletions(-)

Detailed changes

api/graphql/graph/gen_graph.go 🔗

@@ -18,8 +18,8 @@ import (
 	"github.com/MichaelMure/git-bug/api/graphql/models"
 	"github.com/MichaelMure/git-bug/bug"
 	"github.com/MichaelMure/git-bug/repository"
-	"github.com/vektah/gqlparser"
-	"github.com/vektah/gqlparser/ast"
+	gqlparser "github.com/vektah/gqlparser/v2"
+	"github.com/vektah/gqlparser/v2/ast"
 )
 
 // region    ************************** generated!.gotpl **************************
@@ -1959,7 +1959,7 @@ func (ec *executionContext) introspectType(name string) (*introspection.Type, er
 }
 
 var sources = []*ast.Source{
-	&ast.Source{Name: "schema/bug.graphql", Input: `"""Represents a comment on a bug."""
+	{Name: "schema/bug.graphql", Input: `"""Represents a comment on a bug."""
 type Comment implements Authored {
   """The author of this comment."""
   author: Identity!
@@ -2078,7 +2078,7 @@ type BugEdge {
   node: Bug!
 }
 `, BuiltIn: false},
-	&ast.Source{Name: "schema/identity.graphql", Input: `"""Represents an identity"""
+	{Name: "schema/identity.graphql", Input: `"""Represents an identity"""
 type Identity {
     """The identifier for this identity"""
     id: String!
@@ -2110,7 +2110,7 @@ type IdentityEdge {
     cursor: String!
     node: Identity!
 }`, BuiltIn: false},
-	&ast.Source{Name: "schema/label.graphql", Input: `"""Label for a bug."""
+	{Name: "schema/label.graphql", Input: `"""Label for a bug."""
 type Label {
     """The name of the label."""
     name: String!
@@ -2129,7 +2129,7 @@ type LabelEdge {
     cursor: String!
     node: Label!
 }`, BuiltIn: false},
-	&ast.Source{Name: "schema/mutations.graphql", Input: `input NewBugInput {
+	{Name: "schema/mutations.graphql", Input: `input NewBugInput {
     """A unique identifier for the client performing the mutation."""
     clientMutationId: String
     """The name of the repository. If not set, the default repository is used."""
@@ -2340,7 +2340,7 @@ type SetTitlePayload {
     operation: SetTitleOperation!
 }
 `, BuiltIn: false},
-	&ast.Source{Name: "schema/operations.graphql", Input: `"""An operation applied to a bug."""
+	{Name: "schema/operations.graphql", Input: `"""An operation applied to a bug."""
 interface Operation {
     """The identifier of the operation"""
     id: String!
@@ -2441,7 +2441,7 @@ type LabelChangeOperation implements Operation & Authored {
     removed: [Label!]!
 }
 `, BuiltIn: false},
-	&ast.Source{Name: "schema/repository.graphql", Input: `
+	{Name: "schema/repository.graphql", Input: `
 type Repository {
     """The name of the repository"""
     name: String
@@ -2492,7 +2492,7 @@ type Repository {
     ): LabelConnection!
 }
 `, BuiltIn: false},
-	&ast.Source{Name: "schema/root.graphql", Input: `type Query {
+	{Name: "schema/root.graphql", Input: `type Query {
     """Access a repository by reference/name. If no ref is given, the default repository is returned if any."""
     repository(ref: String): Repository
 }
@@ -2518,7 +2518,7 @@ type Mutation {
     setTitle(input: SetTitleInput!): SetTitlePayload!
 }
 `, BuiltIn: false},
-	&ast.Source{Name: "schema/timeline.graphql", Input: `"""An item in the timeline of events"""
+	{Name: "schema/timeline.graphql", Input: `"""An item in the timeline of events"""
 interface TimelineItem {
     """The identifier of the source operation"""
     id: String!
@@ -2605,7 +2605,7 @@ type SetTitleTimelineItem implements TimelineItem & Authored {
     was: String!
 }
 `, BuiltIn: false},
-	&ast.Source{Name: "schema/types.graphql", Input: `scalar Time
+	{Name: "schema/types.graphql", Input: `scalar Time
 scalar Hash
 
 """Defines a color by red, green and blue components."""
@@ -2648,6 +2648,7 @@ func (ec *executionContext) field_Bug_actors_args(ctx context.Context, rawArgs m
 	args := map[string]interface{}{}
 	var arg0 *string
 	if tmp, ok := rawArgs["after"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("after"))
 		arg0, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -2656,6 +2657,7 @@ func (ec *executionContext) field_Bug_actors_args(ctx context.Context, rawArgs m
 	args["after"] = arg0
 	var arg1 *string
 	if tmp, ok := rawArgs["before"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("before"))
 		arg1, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -2664,6 +2666,7 @@ func (ec *executionContext) field_Bug_actors_args(ctx context.Context, rawArgs m
 	args["before"] = arg1
 	var arg2 *int
 	if tmp, ok := rawArgs["first"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("first"))
 		arg2, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -2672,6 +2675,7 @@ func (ec *executionContext) field_Bug_actors_args(ctx context.Context, rawArgs m
 	args["first"] = arg2
 	var arg3 *int
 	if tmp, ok := rawArgs["last"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("last"))
 		arg3, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -2686,6 +2690,7 @@ func (ec *executionContext) field_Bug_comments_args(ctx context.Context, rawArgs
 	args := map[string]interface{}{}
 	var arg0 *string
 	if tmp, ok := rawArgs["after"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("after"))
 		arg0, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -2694,6 +2699,7 @@ func (ec *executionContext) field_Bug_comments_args(ctx context.Context, rawArgs
 	args["after"] = arg0
 	var arg1 *string
 	if tmp, ok := rawArgs["before"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("before"))
 		arg1, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -2702,6 +2708,7 @@ func (ec *executionContext) field_Bug_comments_args(ctx context.Context, rawArgs
 	args["before"] = arg1
 	var arg2 *int
 	if tmp, ok := rawArgs["first"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("first"))
 		arg2, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -2710,6 +2717,7 @@ func (ec *executionContext) field_Bug_comments_args(ctx context.Context, rawArgs
 	args["first"] = arg2
 	var arg3 *int
 	if tmp, ok := rawArgs["last"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("last"))
 		arg3, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -2724,6 +2732,7 @@ func (ec *executionContext) field_Bug_operations_args(ctx context.Context, rawAr
 	args := map[string]interface{}{}
 	var arg0 *string
 	if tmp, ok := rawArgs["after"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("after"))
 		arg0, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -2732,6 +2741,7 @@ func (ec *executionContext) field_Bug_operations_args(ctx context.Context, rawAr
 	args["after"] = arg0
 	var arg1 *string
 	if tmp, ok := rawArgs["before"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("before"))
 		arg1, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -2740,6 +2750,7 @@ func (ec *executionContext) field_Bug_operations_args(ctx context.Context, rawAr
 	args["before"] = arg1
 	var arg2 *int
 	if tmp, ok := rawArgs["first"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("first"))
 		arg2, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -2748,6 +2759,7 @@ func (ec *executionContext) field_Bug_operations_args(ctx context.Context, rawAr
 	args["first"] = arg2
 	var arg3 *int
 	if tmp, ok := rawArgs["last"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("last"))
 		arg3, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -2762,6 +2774,7 @@ func (ec *executionContext) field_Bug_participants_args(ctx context.Context, raw
 	args := map[string]interface{}{}
 	var arg0 *string
 	if tmp, ok := rawArgs["after"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("after"))
 		arg0, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -2770,6 +2783,7 @@ func (ec *executionContext) field_Bug_participants_args(ctx context.Context, raw
 	args["after"] = arg0
 	var arg1 *string
 	if tmp, ok := rawArgs["before"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("before"))
 		arg1, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -2778,6 +2792,7 @@ func (ec *executionContext) field_Bug_participants_args(ctx context.Context, raw
 	args["before"] = arg1
 	var arg2 *int
 	if tmp, ok := rawArgs["first"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("first"))
 		arg2, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -2786,6 +2801,7 @@ func (ec *executionContext) field_Bug_participants_args(ctx context.Context, raw
 	args["first"] = arg2
 	var arg3 *int
 	if tmp, ok := rawArgs["last"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("last"))
 		arg3, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -2800,6 +2816,7 @@ func (ec *executionContext) field_Bug_timeline_args(ctx context.Context, rawArgs
 	args := map[string]interface{}{}
 	var arg0 *string
 	if tmp, ok := rawArgs["after"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("after"))
 		arg0, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -2808,6 +2825,7 @@ func (ec *executionContext) field_Bug_timeline_args(ctx context.Context, rawArgs
 	args["after"] = arg0
 	var arg1 *string
 	if tmp, ok := rawArgs["before"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("before"))
 		arg1, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -2816,6 +2834,7 @@ func (ec *executionContext) field_Bug_timeline_args(ctx context.Context, rawArgs
 	args["before"] = arg1
 	var arg2 *int
 	if tmp, ok := rawArgs["first"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("first"))
 		arg2, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -2824,6 +2843,7 @@ func (ec *executionContext) field_Bug_timeline_args(ctx context.Context, rawArgs
 	args["first"] = arg2
 	var arg3 *int
 	if tmp, ok := rawArgs["last"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("last"))
 		arg3, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -2838,6 +2858,7 @@ func (ec *executionContext) field_Mutation_addCommentAndClose_args(ctx context.C
 	args := map[string]interface{}{}
 	var arg0 models.AddCommentAndCloseBugInput
 	if tmp, ok := rawArgs["input"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
 		arg0, err = ec.unmarshalNAddCommentAndCloseBugInput2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐAddCommentAndCloseBugInput(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -2852,6 +2873,7 @@ func (ec *executionContext) field_Mutation_addCommentAndReopen_args(ctx context.
 	args := map[string]interface{}{}
 	var arg0 models.AddCommentAndReopenBugInput
 	if tmp, ok := rawArgs["input"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
 		arg0, err = ec.unmarshalNAddCommentAndReopenBugInput2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐAddCommentAndReopenBugInput(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -2866,6 +2888,7 @@ func (ec *executionContext) field_Mutation_addComment_args(ctx context.Context,
 	args := map[string]interface{}{}
 	var arg0 models.AddCommentInput
 	if tmp, ok := rawArgs["input"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
 		arg0, err = ec.unmarshalNAddCommentInput2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐAddCommentInput(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -2880,6 +2903,7 @@ func (ec *executionContext) field_Mutation_changeLabels_args(ctx context.Context
 	args := map[string]interface{}{}
 	var arg0 *models.ChangeLabelInput
 	if tmp, ok := rawArgs["input"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
 		arg0, err = ec.unmarshalOChangeLabelInput2ᚖgithubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐChangeLabelInput(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -2894,6 +2918,7 @@ func (ec *executionContext) field_Mutation_closeBug_args(ctx context.Context, ra
 	args := map[string]interface{}{}
 	var arg0 models.CloseBugInput
 	if tmp, ok := rawArgs["input"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
 		arg0, err = ec.unmarshalNCloseBugInput2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐCloseBugInput(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -2908,6 +2933,7 @@ func (ec *executionContext) field_Mutation_editComment_args(ctx context.Context,
 	args := map[string]interface{}{}
 	var arg0 models.EditCommentInput
 	if tmp, ok := rawArgs["input"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
 		arg0, err = ec.unmarshalNEditCommentInput2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐEditCommentInput(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -2922,6 +2948,7 @@ func (ec *executionContext) field_Mutation_newBug_args(ctx context.Context, rawA
 	args := map[string]interface{}{}
 	var arg0 models.NewBugInput
 	if tmp, ok := rawArgs["input"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
 		arg0, err = ec.unmarshalNNewBugInput2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐNewBugInput(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -2936,6 +2963,7 @@ func (ec *executionContext) field_Mutation_openBug_args(ctx context.Context, raw
 	args := map[string]interface{}{}
 	var arg0 models.OpenBugInput
 	if tmp, ok := rawArgs["input"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
 		arg0, err = ec.unmarshalNOpenBugInput2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐOpenBugInput(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -2950,6 +2978,7 @@ func (ec *executionContext) field_Mutation_setTitle_args(ctx context.Context, ra
 	args := map[string]interface{}{}
 	var arg0 models.SetTitleInput
 	if tmp, ok := rawArgs["input"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("input"))
 		arg0, err = ec.unmarshalNSetTitleInput2githubᚗcomᚋMichaelMureᚋgitᚑbugᚋapiᚋgraphqlᚋmodelsᚐSetTitleInput(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -2964,6 +2993,7 @@ func (ec *executionContext) field_Query___type_args(ctx context.Context, rawArgs
 	args := map[string]interface{}{}
 	var arg0 string
 	if tmp, ok := rawArgs["name"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("name"))
 		arg0, err = ec.unmarshalNString2string(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -2978,6 +3008,7 @@ func (ec *executionContext) field_Query_repository_args(ctx context.Context, raw
 	args := map[string]interface{}{}
 	var arg0 *string
 	if tmp, ok := rawArgs["ref"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("ref"))
 		arg0, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -2992,6 +3023,7 @@ func (ec *executionContext) field_Repository_allBugs_args(ctx context.Context, r
 	args := map[string]interface{}{}
 	var arg0 *string
 	if tmp, ok := rawArgs["after"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("after"))
 		arg0, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -3000,6 +3032,7 @@ func (ec *executionContext) field_Repository_allBugs_args(ctx context.Context, r
 	args["after"] = arg0
 	var arg1 *string
 	if tmp, ok := rawArgs["before"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("before"))
 		arg1, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -3008,6 +3041,7 @@ func (ec *executionContext) field_Repository_allBugs_args(ctx context.Context, r
 	args["before"] = arg1
 	var arg2 *int
 	if tmp, ok := rawArgs["first"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("first"))
 		arg2, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -3016,6 +3050,7 @@ func (ec *executionContext) field_Repository_allBugs_args(ctx context.Context, r
 	args["first"] = arg2
 	var arg3 *int
 	if tmp, ok := rawArgs["last"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("last"))
 		arg3, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -3024,6 +3059,7 @@ func (ec *executionContext) field_Repository_allBugs_args(ctx context.Context, r
 	args["last"] = arg3
 	var arg4 *string
 	if tmp, ok := rawArgs["query"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("query"))
 		arg4, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -3038,6 +3074,7 @@ func (ec *executionContext) field_Repository_allIdentities_args(ctx context.Cont
 	args := map[string]interface{}{}
 	var arg0 *string
 	if tmp, ok := rawArgs["after"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("after"))
 		arg0, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -3046,6 +3083,7 @@ func (ec *executionContext) field_Repository_allIdentities_args(ctx context.Cont
 	args["after"] = arg0
 	var arg1 *string
 	if tmp, ok := rawArgs["before"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("before"))
 		arg1, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -3054,6 +3092,7 @@ func (ec *executionContext) field_Repository_allIdentities_args(ctx context.Cont
 	args["before"] = arg1
 	var arg2 *int
 	if tmp, ok := rawArgs["first"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("first"))
 		arg2, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -3062,6 +3101,7 @@ func (ec *executionContext) field_Repository_allIdentities_args(ctx context.Cont
 	args["first"] = arg2
 	var arg3 *int
 	if tmp, ok := rawArgs["last"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("last"))
 		arg3, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -3076,6 +3116,7 @@ func (ec *executionContext) field_Repository_bug_args(ctx context.Context, rawAr
 	args := map[string]interface{}{}
 	var arg0 string
 	if tmp, ok := rawArgs["prefix"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("prefix"))
 		arg0, err = ec.unmarshalNString2string(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -3090,6 +3131,7 @@ func (ec *executionContext) field_Repository_identity_args(ctx context.Context,
 	args := map[string]interface{}{}
 	var arg0 string
 	if tmp, ok := rawArgs["prefix"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("prefix"))
 		arg0, err = ec.unmarshalNString2string(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -3104,6 +3146,7 @@ func (ec *executionContext) field_Repository_validLabels_args(ctx context.Contex
 	args := map[string]interface{}{}
 	var arg0 *string
 	if tmp, ok := rawArgs["after"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("after"))
 		arg0, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -3112,6 +3155,7 @@ func (ec *executionContext) field_Repository_validLabels_args(ctx context.Contex
 	args["after"] = arg0
 	var arg1 *string
 	if tmp, ok := rawArgs["before"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("before"))
 		arg1, err = ec.unmarshalOString2ᚖstring(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -3120,6 +3164,7 @@ func (ec *executionContext) field_Repository_validLabels_args(ctx context.Contex
 	args["before"] = arg1
 	var arg2 *int
 	if tmp, ok := rawArgs["first"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("first"))
 		arg2, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -3128,6 +3173,7 @@ func (ec *executionContext) field_Repository_validLabels_args(ctx context.Contex
 	args["first"] = arg2
 	var arg3 *int
 	if tmp, ok := rawArgs["last"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("last"))
 		arg3, err = ec.unmarshalOInt2ᚖint(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -3142,6 +3188,7 @@ func (ec *executionContext) field___Type_enumValues_args(ctx context.Context, ra
 	args := map[string]interface{}{}
 	var arg0 bool
 	if tmp, ok := rawArgs["includeDeprecated"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("includeDeprecated"))
 		arg0, err = ec.unmarshalOBoolean2bool(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -3156,6 +3203,7 @@ func (ec *executionContext) field___Type_fields_args(ctx context.Context, rawArg
 	args := map[string]interface{}{}
 	var arg0 bool
 	if tmp, ok := rawArgs["includeDeprecated"]; ok {
+		ctx := graphql.WithPathContext(ctx, graphql.NewPathWithField("includeDeprecated"))
 		arg0, err = ec.unmarshalOBoolean2bool(ctx, tmp)
 		if err != nil {
 			return nil, err
@@ -3181,10 +3229,11 @@ func (ec *executionContext) _AddCommentAndCloseBugPayload_clientMutationId(ctx c
 		}
 	}()
 	fc := &graphql.FieldContext{
-		Object:   "AddCommentAndCloseBugPayload",
-		Field:    field,
-		Args:     nil,
-		IsMethod: false,
+		Object:     "AddCommentAndCloseBugPayload",
+		Field:      field,
+		Args:       nil,
+		IsMethod:   false,
+		IsResolver: false,
 	}
 
 	ctx = graphql.WithFieldContext(ctx, fc)
@@ -3212,10 +3261,11 @@ func (ec *executionContext) _AddCommentAndCloseBugPayload_bug(ctx context.Contex
 		}
 	}()
 	fc := &graphql.FieldContext{
-		Object:   "AddCommentAndCloseBugPayload",
-		Field:    field,
-		Args:     nil,
-		IsMethod: false,
+		Object:     "AddCommentAndCloseBugPayload",
+		Field:      field,
+		Args:       nil,
+		IsMethod:   false,
+		IsResolver: false,
 	}
 
 	ctx = graphql.WithFieldContext(ctx, fc)
@@ -3246,10 +3296,11 @@ func (ec *executionContext) _AddCommentAndCloseBugPayload_commentOperation(ctx c
 		}
 	}()
 	fc := &graphql.FieldContext{
-		Object:   "AddCommentAndCloseBugPayload",
-		Field:    field,
-		Args:     nil,
-		IsMethod: false,
+		Object:     "AddCommentAndCloseBugPayload",
+		Field:      field,
+		Args:       nil,
+		IsMethod:   false,
+		IsResolver: false,
 	}
 
 	ctx = graphql.WithFieldContext(ctx, fc)
@@ -3280,10 +3331,11 @@ func (ec *executionContext) _AddCommentAndCloseBugPayload_statusOperation(ctx co
 		}
 	}()
 	fc := &graphql.FieldContext{
-		Object:   "AddCommentAndCloseBugPayload",
-		Field:    field,
-		Args:     nil,
-		IsMethod: false,
+		Object:     "AddCommentAndCloseBugPayload",
+		Field:      field,
+		Args:       nil,
+		IsMethod:   false,
+		IsResolver: false,
 	}
 
 	ctx = graphql.WithFieldContext(ctx, fc)
@@ -3314,10 +3366,11 @@ func (ec *executionContext) _AddCommentAndReopenBugPayload_clientMutationId(ctx
 		}
 	}()
 	fc := &graphql.FieldContext{
-		Object:   "AddCommentAndReopenBugPayload",
-		Field:    field,
-		Args:     nil,
-		IsMethod: false,
+		Object:     "AddCommentAndReopenBugPayload",
+		Field:      field,
+		Args:       nil,
+		IsMethod:   false,
+		IsResolver: false,
 	}
 
 	ctx = graphql.WithFieldContext(ctx, fc)
@@ -3345,10 +3398,11 @@ func (ec *executionContext) _AddCommentAndReopenBugPayload_bug(ctx context.Conte
 		}
 	}()
 	fc := &graphql.FieldContext{
-		Object:   "AddCommentAndReopenBugPayload",
-		Field:    field,
-		Args:     nil,
-		IsMethod: false,
+		Object:     "AddCommentAndReopenBugPayload",
+		Field:      field,
+		Args:       nil,
+		IsMethod:   false,
+		IsResolver: false,
 	}
 
 	ctx = graphql.WithFieldContext(ctx, fc)
@@ -3379,10 +3433,11 @@ func (ec *executionContext) _AddCommentAndReopenBugPayload_commentOperation(ctx
 		}
 	}()
 	fc := &graphql.FieldContext{
-		Object:   "AddCommentAndReopenBugPayload",
-		Field:    field,
-		Args:     nil,
-		IsMethod: false,
+		Object:     "AddCommentAndReopenBugPayload",
+		Field:      field,
+		Args:       nil,
+		IsMethod:   false,
+		IsResolver: false,
 	}
 
 	ctx = graphql.WithFieldContext(ctx, fc)
@@ -3413,10 +3468,11 @@ func (ec *executionContext) _AddCommentAndReopenBugPayload_statusOperation(ctx c
 		}
 	}()
 	fc := &graphql.FieldContext{
-		Object:   "AddCommentAndReopenBugPayload",
-		Field:    field,
-		Args:     nil,
-		IsMethod: false,
+		Object:     "AddCommentAndReopenBugPayload",
+		Field:      field,
+		Args:       nil,
+		IsMethod:   false,
+		IsResolver: false,
 	}
 
 	ctx = graphql.WithFieldContext(ctx, fc)
@@ -3447,10 +3503,11 @@ func (ec *executionContext) _AddCommentOperation_id(ctx context.Context, field g
 		}
 	}()
 	fc := &graphql.FieldContext{
-		Object:   "AddCommentOperation",
-		Field:    field,
-		Args:     nil,
-		IsMethod: true,
+		Object:     "AddCommentOperation",
+		Field:      field,
+		Args:       nil,
+		IsMethod:   true,
+		IsResolver: true,
 	}
 
 	ctx = graphql.WithFieldContext(ctx, fc)
@@ -3481,10 +3538,11 @@ func (ec *executionContext) _AddCommentOperation_author(ctx context.Context, fie
 		}
 	}()
 	fc := &graphql.FieldContext{
-		Object:   "AddCommentOperation",
-		Field:    field,
-		Args:     nil,
-		IsMethod: true,
+		Object:     "AddCommentOperation",
+		Field:      field,
+		Args:       nil,
+		IsMethod:   true,
+		IsResolver: true,
 	}
 
 	ctx = graphql.WithFieldContext(ctx, fc)
@@ -3515,10 +3573,11 @@ func (ec *executionContext) _AddCommentOperation_date(ctx context.Context, field
 		}
 	}()
 	fc := &graphql.FieldContext{
-		Object:   "AddCommentOperation",
-		Field:    field,
-		Args:     nil,
-		IsMethod: true,
+		Object:     "AddCommentOperation",
+		Field:      field,
+		Args:       nil,
+		IsMethod:   true,
+		IsResolver: true,
 	}
 
 	ctx = graphql.WithFieldContext(ctx, fc)
@@ -3549,10 +3608,11 @@ func (ec *executionContext) _AddCommentOperation_message(ctx context.Context, fi
 		}
 	}()
 	fc := &graphql.FieldContext{
-		Object:   "AddCommentOperation",
-		Field:    field,
-		Args:     nil,
-		IsMethod: false,
+		Object:     "AddCommentOperation",
+		Field:      field,
+		Args:       nil,
+		IsMethod:   false,
+		IsResolver: false,
 	}
 
 	ctx = graphql.WithFieldContext(ctx, fc)
@@ -3583,10 +3643,11 @@ func (ec *executionContext) _AddCommentOperation_files(ctx context.Context, fiel
 		}
 	}()
 	fc := &graphql.FieldContext{
-		Object:   "AddCommentOperation",
-		Field:    field,
-		Args:     nil,
-		IsMethod: false,
+		Object:     "AddCommentOperation",
+		Field:      field,
+		Args:       nil,
+		IsMethod:   false,
+		IsResolver: false,
 	}
 
 	ctx = graphql.WithFieldContext(ctx, fc)
@@ -3617,10 +3678,11 @@ func (ec *executionContext) _AddCommentPayload_clientMutationId(ctx context.Cont
 		}
 	}()
 	fc := &graphql.FieldContext{
-		Object:   "AddCommentPayload",
-		Field:    field,
-		Args:     nil,
-		IsMethod: false,
+		Object:     "AddCommentPayload",
+		Field:      field,
+		Args:       nil,
+		IsMethod:   false,
+		IsResolver: false,
 	}
 
 	ctx = graphql.WithFieldContext(ctx, fc)
@@ -3648,10 +3710,11 @@ func (ec *executionContext) _AddCommentPayload_bug(ctx context.Context, field gr
 		}
 	}()
 	fc := &graphql.FieldContext{
-		Object:   "AddCommentPayload",
-		Field:    field,
-		Args:     nil,
-		IsMethod: false,
+		Object:     "AddCommentPayload",
+		Field:      field,
+		Args:       nil,
+		IsMethod:   false,
+		IsResolver: false,
 	}
 
 	ctx = graphql.WithFieldContext(ctx, fc)
@@ -3682,10 +3745,11 @@ func (ec *executionContext) _AddCommentPayload_operation(ctx context.Context, fi
 		}
 	}()
 	fc := &graphql.FieldContext{
-		Object:   "AddCommentPayload",
-		Field:    field,
-		Args:     nil,
-		IsMethod: false,
+		Object:     "AddCommentPayload",
+		Field:      field,
+		Args:       nil,
+		IsMethod:   false,
+		IsResolver: false,
 	}
 
 	ctx = graphql.WithFieldContext(ctx, fc)
@@ -3716,10 +3780,11 @@ func (ec *executionContext) _AddCommentTimelineItem_id(ctx context.Context, fiel
 		}
 	}()
 	fc := &graphql.FieldContext{
-		Object:   "AddCommentTimelineItem",
-		Field:    field,
-		Args:     nil,
-		IsMethod: true,
+		Object:     "AddCommentTimelineItem",
+		Field:      field,
+		Args:       nil,
+		IsMethod:   true,
+		IsResolver: true,
 	}
 
 	ctx = graphql.WithFieldContext(ctx, fc)
@@ -3750,10 +3815,11 @@ func (ec *executionContext) _AddCommentTimelineItem_author(ctx context.Context,
 		}
 	}()
 	fc := &graphql.FieldContext{
-		Object:   "AddCommentTimelineItem",
-		Field:    field,
-		Args:     nil,
-		IsMethod: true,
+		Object:     "AddCommentTimelineItem",
+		Field:      field,
+		Args:       nil,
+		IsMethod:   true,
+		IsResolver: true,
 	}
 
 	ctx = graphql.WithFieldContext(ctx, fc)
@@ -3784,10 +3850,11 @@ func (ec *executionContext) _AddCommentTimelineItem_message(ctx context.Context,
 		}
 	}()
 	fc := &graphql.FieldContext{
-		Object:   "AddCommentTimelineItem",
-		Field:    field,
-		Args:     nil,
-		IsMethod: false,
+		Object:     "AddCommentTimelineItem",
+		Field:      field,
+		Args:       nil,
+		IsMethod:   false,
+		IsResolver: false,
 	}
 
 	ctx = graphql.WithFieldContext(ctx, fc)
@@ -3818,10 +3885,11 @@ func (ec *executionContext) _AddCommentTimelineItem_messageIsEmpty(ctx context.C
 		}
 	}()
 	fc := &graphql.FieldContext{
-		Object:   "AddCommentTimelineItem",
-		Field:    field,
-		Args:     nil,
-		IsMethod: true,
+		Object:     "AddCommentTimelineItem",
+		Field:      field,
+		Args:       nil,
+		IsMethod:   true,
+		IsResolver: false,
 	}
 
 	ctx = graphql.WithFieldContext(ctx, fc)
@@ -3852,10 +3920,11 @@ func (ec *executionContext) _AddCommentTimelineItem_files(ctx context.Context, f
 		}
 	}()
 	fc := &graphql.FieldContext{
-		Object:   "AddCommentTimelineItem",
-		Field:    field,
-		Args:     nil,
-		IsMethod: false,
+		Object:     "AddCommentTimelineItem",
+		Field:      field,
+		Args:       nil,
+		IsMethod:   false,
+		IsResolver: false,
 	}
 
 	ctx = graphql.WithFieldContext(ctx, fc)
@@ -3886,10 +3955,11 @@ func (ec *executionContext) _AddCommentTimelineItem_createdAt(ctx context.Contex
 		}
 	}()
 	fc := &graphql.FieldContext{
-		Object:   "AddCommentTimelineItem",
-		Field:    field,
-		Args:     nil,
-		IsMethod: true,
+		Object:     "AddCommentTimelineItem",
+		Field:      field,
+		Args:       nil,
+		IsMethod:   true,
+		IsResolver: true,
 	}
 
 	ctx = graphql.WithFieldContext(ctx, fc)
@@ -3920,10 +3990,11 @@ func (ec *executionContext) _AddCommentTimelineItem_lastEdit(ctx context.Context
 		}
 	}()
 	fc := &graphql.FieldContext{
-		Object:   "AddCommentTimelineItem",
-		Field:    field,
-		Args:     nil,
-		IsMethod: true,
+		Object:     "AddCommentTimelineItem",
+		Field:      field,
+		Args:       nil,
+		IsMethod:   true,
+		IsResolver: true,
 	}
 
 	ctx = graphql.WithFieldContext(ctx, fc)
@@ -3954,10 +4025,11 @@ func (ec *executionContext) _AddCommentTimelineItem_edited(ctx context.Context,
 		}
 	}()
 	fc := &graphql.FieldContext{
-		Object:   "AddCommentTimelineItem",
-		Field:    field,
-		Args:     nil,
-		IsMethod: true,
+		Object:     "AddCommentTimelineItem",
+		Field:      field,
+		Args:       nil,
+		IsMethod:   true,
+		IsResolver: false,
 	}
 
 	ctx = graphql.WithFieldContext(ctx, fc)
@@ -3988,10 +4060,11 @@ func (ec *executionContext) _AddCommentTimelineItem_history(ctx context.Context,
 		}
 	}()
 	fc := &graphql.FieldContext{
-		Object:   "AddCommentTimelineItem",
-		Field:    field,
-		Args:     nil,
-		IsMethod: false,
+		Object:     "AddCommentTimelineItem",
+		Field:      field,
+		Args:       nil,
+		IsMethod:   false,
+		IsResolver: false,
 	}
 
 	ctx = graphql.WithFieldContext(ctx, fc)
@@ -4022,10 +4095,11 @@ func (ec *executionContext) _Bug_id(ctx context.Context, field graphql.Collected
 		}
 	}()
 	fc := &graphql.FieldContext{
-		Object:   "Bug",
-		Field:    field,
-		Args:     nil,
-		IsMethod: true,
+		Object:     "Bug",
+		Field:      field,
+		Args:       nil,
+		IsMethod:   true,
+		IsResolver: true,
 	}
 
 	ctx = graphql.WithFieldContext(ctx, fc)
@@ -4056,10 +4130,11 @@ func (ec *executionContext) _Bug_humanId(ctx context.Context, field graphql.Coll
 		}
 	}()
 	fc := &graphql.FieldContext{
-		Object:   "Bug",
-		Field:    field,
-		Args:     nil,
-		IsMethod: true,
+		Object:     "Bug",
+		Field:      field,
+		Args:       nil,
+		IsMethod:   true,
+		IsResolver: true,
 	}
 
 	ctx = graphql.WithFieldContext(ctx, fc)
@@ -4090,10 +4165,11 @@ func (ec *executionContext) _Bug_status(ctx context.Context, field graphql.Colle
 		}
 	}()
 	fc := &graphql.FieldContext{
-		Object:   "Bug",
-		Field:    field,
-		Args:     nil,
-		IsMethod: true,
+		Object:     "Bug",
+		Field:      field,
+		Args:       nil,
+		IsMethod:   true,
+		IsResolver: true,
 	}
 
 	ctx = graphql.WithFieldContext(ctx, fc)
@@ -4124,10 +4200,11 @@ func (ec *executionContext) _Bug_title(ctx context.Context, field graphql.Collec
 		}
 	}()
 	fc := &graphql.FieldContext{
-		Object:   "Bug",
-		Field:    field,
-		Args:     nil,
-		IsMethod: true,
+		Object:     "Bug",
+		Field:      field,
+		Args:       nil,
+		IsMethod:   true,
+		IsResolver: false,
 	}
 
 	ctx = graphql.WithFieldContext(ctx, fc)
@@ -4158,10 +4235,11 @@ func (ec *executionContext) _Bug_labels(ctx context.Context, field graphql.Colle
 		}
 	}()
 	fc := &graphql.FieldContext{
-		Object:   "Bug",
-		Field:    field,
-		Args:     nil,
-		IsMethod: true,
+		Object:     "Bug",
+		Field:      field,
+		Args:       nil,
+		IsMethod:   true,
+		IsResolver: false,
 	}
 
 	ctx = graphql.WithFieldContext(ctx, fc)
@@ -4192,10 +4270,11 @@ func (ec *executionContext) _Bug_author(ctx context.Context, field graphql.Colle
 		}
 	}()
 	fc := &graphql.FieldContext{
-		Object:   "Bug",
-		Field:    field,
-		Args:     nil,
-		IsMethod: true,
+		Object:     "Bug",
+		Field:      field,
+		Args:       nil,
+		IsMethod:   true,
+		IsResolver: false,
 	}
 
 	ctx = graphql.WithFieldContext(ctx, fc)
@@ -4226,10 +4305,11 @@ func (ec *executionContext) _Bug_createdAt(ctx context.Context, field graphql.Co
 		}
 	}()
 	fc := &graphql.FieldContext{
-		Object:   "Bug",
-		Field:    field,
-		Args:     nil,
-		IsMethod: true,
+		Object:     "Bug",
+		Field:      field,
+		Args:       nil,
+		IsMethod:   true,
+		IsResolver: false,
 	}
 
 	ctx = graphql.WithFieldContext(ctx, fc)
@@ -4260,10 +4340,11 @@ func (ec *executionContext) _Bug_lastEdit(ctx context.Context, field graphql.Col
 		}
 	}()
 	fc := &graphql.FieldContext{
-		Object:   "Bug",
-		Field:    field,
-		Args:     nil,
-		IsMethod: true,
+		Object:     "Bug",
+		Field:      field,
+		Args:       nil,
+		IsMethod:   true,
+		IsResolver: false,
 	}
 
 	ctx = graphql.WithFieldContext(ctx, fc)

doc/man/git-bug-add.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-add \- Create a new bug.
+git-bug-add - Create a new bug.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug add [flags]\fP
+\fBgit-bug add [flags]\fP
 
 
 .SH DESCRIPTION
@@ -18,26 +18,26 @@ Create a new bug.
 
 .SH OPTIONS
 .PP
-\fB\-t\fP, \fB\-\-title\fP=""
+\fB-t\fP, \fB--title\fP=""
 	Provide a title to describe the issue
 
 .PP
-\fB\-m\fP, \fB\-\-message\fP=""
+\fB-m\fP, \fB--message\fP=""
 	Provide a message to describe the issue
 
 .PP
-\fB\-F\fP, \fB\-\-file\fP=""
-	Take the message from the given file. Use \- to read the message from the standard input
+\fB-F\fP, \fB--file\fP=""
+	Take the message from the given file. Use - to read the message from the standard input
 
 .PP
-\fB\-\-non\-interactive\fP[=false]
+\fB--non-interactive\fP[=false]
 	Do not ask for user input
 
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
 	help for add
 
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug(1)\fP
+\fBgit-bug(1)\fP

doc/man/git-bug-bridge-auth-add-token.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-bridge\-auth\-add\-token \- Store a new token
+git-bug-bridge-auth-add-token - Store a new token
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug bridge auth add\-token [TOKEN] [flags]\fP
+\fBgit-bug bridge auth add-token [TOKEN] [flags]\fP
 
 
 .SH DESCRIPTION
@@ -18,22 +18,22 @@ Store a new token
 
 .SH OPTIONS
 .PP
-\fB\-t\fP, \fB\-\-target\fP=""
-	The target of the bridge. Valid values are [github,gitlab,jira,launchpad\-preview]
+\fB-t\fP, \fB--target\fP=""
+	The target of the bridge. Valid values are [github,gitlab,jira,launchpad-preview]
 
 .PP
-\fB\-l\fP, \fB\-\-login\fP=""
-	The login in the remote bug\-tracker
+\fB-l\fP, \fB--login\fP=""
+	The login in the remote bug-tracker
 
 .PP
-\fB\-u\fP, \fB\-\-user\fP=""
+\fB-u\fP, \fB--user\fP=""
 	The user to add the token to. Default is the current user
 
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
-	help for add\-token
+\fB-h\fP, \fB--help\fP[=false]
+	help for add-token
 
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug\-bridge\-auth(1)\fP
+\fBgit-bug-bridge-auth(1)\fP

doc/man/git-bug-bridge-auth-rm.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-bridge\-auth\-rm \- Remove a credential.
+git-bug-bridge-auth-rm - Remove a credential.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug bridge auth rm ID [flags]\fP
+\fBgit-bug bridge auth rm ID [flags]\fP
 
 
 .SH DESCRIPTION
@@ -18,10 +18,10 @@ Remove a credential.
 
 .SH OPTIONS
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
 	help for rm
 
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug\-bridge\-auth(1)\fP
+\fBgit-bug-bridge-auth(1)\fP

doc/man/git-bug-bridge-auth-show.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-bridge\-auth\-show \- Display an authentication credential.
+git-bug-bridge-auth-show - Display an authentication credential.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug bridge auth show [flags]\fP
+\fBgit-bug bridge auth show [flags]\fP
 
 
 .SH DESCRIPTION
@@ -18,10 +18,10 @@ Display an authentication credential.
 
 .SH OPTIONS
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
 	help for show
 
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug\-bridge\-auth(1)\fP
+\fBgit-bug-bridge-auth(1)\fP

doc/man/git-bug-bridge-auth.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-bridge\-auth \- List all known bridge authentication credentials.
+git-bug-bridge-auth - List all known bridge authentication credentials.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug bridge auth [flags]\fP
+\fBgit-bug bridge auth [flags]\fP
 
 
 .SH DESCRIPTION
@@ -18,10 +18,10 @@ List all known bridge authentication credentials.
 
 .SH OPTIONS
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
 	help for auth
 
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug\-bridge(1)\fP, \fBgit\-bug\-bridge\-auth\-add\-token(1)\fP, \fBgit\-bug\-bridge\-auth\-rm(1)\fP, \fBgit\-bug\-bridge\-auth\-show(1)\fP
+\fBgit-bug-bridge(1)\fP, \fBgit-bug-bridge-auth-add-token(1)\fP, \fBgit-bug-bridge-auth-rm(1)\fP, \fBgit-bug-bridge-auth-show(1)\fP

doc/man/git-bug-bridge-configure.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-bridge\-configure \- Configure a new bridge.
+git-bug-bridge-configure - Configure a new bridge.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug bridge configure [flags]\fP
+\fBgit-bug bridge configure [flags]\fP
 
 
 .SH DESCRIPTION
@@ -24,51 +24,51 @@ Configure a new bridge by passing flags or/and using interactive terminal prompt
 
 .SH OPTIONS
 .PP
-\fB\-n\fP, \fB\-\-name\fP=""
+\fB-n\fP, \fB--name\fP=""
 	A distinctive name to identify the bridge
 
 .PP
-\fB\-t\fP, \fB\-\-target\fP=""
-	The target of the bridge. Valid values are [github,gitlab,jira,launchpad\-preview]
+\fB-t\fP, \fB--target\fP=""
+	The target of the bridge. Valid values are [github,gitlab,jira,launchpad-preview]
 
 .PP
-\fB\-u\fP, \fB\-\-url\fP=""
+\fB-u\fP, \fB--url\fP=""
 	The URL of the remote repository
 
 .PP
-\fB\-b\fP, \fB\-\-base\-url\fP=""
+\fB-b\fP, \fB--base-url\fP=""
 	The base URL of your remote issue tracker
 
 .PP
-\fB\-l\fP, \fB\-\-login\fP=""
+\fB-l\fP, \fB--login\fP=""
 	The login on your remote issue tracker
 
 .PP
-\fB\-c\fP, \fB\-\-credential\fP=""
-	The identifier or prefix of an already known credential for your remote issue tracker (see "git\-bug bridge auth")
+\fB-c\fP, \fB--credential\fP=""
+	The identifier or prefix of an already known credential for your remote issue tracker (see "git-bug bridge auth")
 
 .PP
-\fB\-\-token\fP=""
+\fB--token\fP=""
 	A raw authentication token for the remote issue tracker
 
 .PP
-\fB\-\-token\-stdin\fP[=false]
-	Will read the token from stdin and ignore \-\-token
+\fB--token-stdin\fP[=false]
+	Will read the token from stdin and ignore --token
 
 .PP
-\fB\-o\fP, \fB\-\-owner\fP=""
+\fB-o\fP, \fB--owner\fP=""
 	The owner of the remote repository
 
 .PP
-\fB\-p\fP, \fB\-\-project\fP=""
+\fB-p\fP, \fB--project\fP=""
 	The name of the remote repository
 
 .PP
-\fB\-\-non\-interactive\fP[=false]
+\fB--non-interactive\fP[=false]
 	Do not ask for user input
 
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
 	help for configure
 
 
@@ -81,14 +81,14 @@ Configure a new bridge by passing flags or/and using interactive terminal prompt
 [1]: github
 [2]: gitlab
 [3]: jira
-[4]: launchpad\-preview
+[4]: launchpad-preview
 
 target: 1
 name [default]: default
 
 Detected projects:
-[1]: github.com/a\-hilaly/git\-bug
-[2]: github.com/MichaelMure/git\-bug
+[1]: github.com/a-hilaly/git-bug
+[2]: github.com/MichaelMure/git-bug
 
 [0]: Another project
 
@@ -103,33 +103,33 @@ Choose 'Generate new token' and set the necessary access scope for your reposito
 
 The access scope depend on the type of repository.
 Public:
-	\- 'public\_repo': to be able to read public repositories
+	- 'public_repo': to be able to read public repositories
 Private:
-	\- 'repo'       : to be able to read private repositories
+	- 'repo'       : to be able to read private repositories
 
 Enter token: 87cf5c03b64029f18ea5f9ca5679daa08ccbd700
 Successfully configured bridge: default
 
 # For GitHub
 git bug bridge configure \\
-    \-\-name=default \\
-    \-\-target=github \\
-    \-\-owner=$(OWNER) \\
-    \-\-project=$(PROJECT) \\
-    \-\-token=$(TOKEN)
+    --name=default \\
+    --target=github \\
+    --owner=$(OWNER) \\
+    --project=$(PROJECT) \\
+    --token=$(TOKEN)
 
 # For Launchpad
 git bug bridge configure \\
-    \-\-name=default \\
-    \-\-target=launchpad\-preview \\
-	\-\-url=https://bugs.launchpad.net/ubuntu/
+    --name=default \\
+    --target=launchpad-preview \\
+	--url=https://bugs.launchpad.net/ubuntu/
 
 # For Gitlab
 git bug bridge configure \\
-    \-\-name=default \\
-    \-\-target=github \\
-    \-\-url=https://github.com/michaelmure/git\-bug \\
-    \-\-token=$(TOKEN)
+    --name=default \\
+    --target=github \\
+    --url=https://github.com/michaelmure/git-bug \\
+    --token=$(TOKEN)
 
 .fi
 .RE
@@ -137,4 +137,4 @@ git bug bridge configure \\
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug\-bridge(1)\fP
+\fBgit-bug-bridge(1)\fP

doc/man/git-bug-bridge-pull.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-bridge\-pull \- Pull updates.
+git-bug-bridge-pull - Pull updates.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug bridge pull [NAME] [flags]\fP
+\fBgit-bug bridge pull [NAME] [flags]\fP
 
 
 .SH DESCRIPTION
@@ -18,18 +18,18 @@ Pull updates.
 
 .SH OPTIONS
 .PP
-\fB\-n\fP, \fB\-\-no\-resume\fP[=false]
+\fB-n\fP, \fB--no-resume\fP[=false]
 	force importing all bugs
 
 .PP
-\fB\-s\fP, \fB\-\-since\fP=""
+\fB-s\fP, \fB--since\fP=""
 	import only bugs updated after the given date (ex: "200h" or "june 2 2019")
 
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
 	help for pull
 
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug\-bridge(1)\fP
+\fBgit-bug-bridge(1)\fP

doc/man/git-bug-bridge-push.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-bridge\-push \- Push updates.
+git-bug-bridge-push - Push updates.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug bridge push [NAME] [flags]\fP
+\fBgit-bug bridge push [NAME] [flags]\fP
 
 
 .SH DESCRIPTION
@@ -18,10 +18,10 @@ Push updates.
 
 .SH OPTIONS
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
 	help for push
 
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug\-bridge(1)\fP
+\fBgit-bug-bridge(1)\fP

doc/man/git-bug-bridge-rm.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-bridge\-rm \- Delete a configured bridge.
+git-bug-bridge-rm - Delete a configured bridge.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug bridge rm NAME [flags]\fP
+\fBgit-bug bridge rm NAME [flags]\fP
 
 
 .SH DESCRIPTION
@@ -18,10 +18,10 @@ Delete a configured bridge.
 
 .SH OPTIONS
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
 	help for rm
 
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug\-bridge(1)\fP
+\fBgit-bug-bridge(1)\fP

doc/man/git-bug-bridge.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-bridge \- Configure and use bridges to other bug trackers.
+git-bug-bridge - Configure and use bridges to other bug trackers.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug bridge [flags]\fP
+\fBgit-bug bridge [flags]\fP
 
 
 .SH DESCRIPTION
@@ -18,10 +18,10 @@ Configure and use bridges to other bug trackers.
 
 .SH OPTIONS
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
 	help for bridge
 
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug(1)\fP, \fBgit\-bug\-bridge\-auth(1)\fP, \fBgit\-bug\-bridge\-configure(1)\fP, \fBgit\-bug\-bridge\-pull(1)\fP, \fBgit\-bug\-bridge\-push(1)\fP, \fBgit\-bug\-bridge\-rm(1)\fP
+\fBgit-bug(1)\fP, \fBgit-bug-bridge-auth(1)\fP, \fBgit-bug-bridge-configure(1)\fP, \fBgit-bug-bridge-pull(1)\fP, \fBgit-bug-bridge-push(1)\fP, \fBgit-bug-bridge-rm(1)\fP

doc/man/git-bug-commands.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-commands \- Display available commands.
+git-bug-commands - Display available commands.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug commands [flags]\fP
+\fBgit-bug commands [flags]\fP
 
 
 .SH DESCRIPTION
@@ -18,14 +18,14 @@ Display available commands.
 
 .SH OPTIONS
 .PP
-\fB\-p\fP, \fB\-\-pretty\fP[=false]
+\fB-p\fP, \fB--pretty\fP[=false]
 	Output the command description as well as Markdown compatible comment
 
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
 	help for commands
 
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug(1)\fP
+\fBgit-bug(1)\fP

doc/man/git-bug-comment-add.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-comment\-add \- Add a new comment to a bug.
+git-bug-comment-add - Add a new comment to a bug.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug comment add [ID] [flags]\fP
+\fBgit-bug comment add [ID] [flags]\fP
 
 
 .SH DESCRIPTION
@@ -18,22 +18,22 @@ Add a new comment to a bug.
 
 .SH OPTIONS
 .PP
-\fB\-F\fP, \fB\-\-file\fP=""
-	Take the message from the given file. Use \- to read the message from the standard input
+\fB-F\fP, \fB--file\fP=""
+	Take the message from the given file. Use - to read the message from the standard input
 
 .PP
-\fB\-m\fP, \fB\-\-message\fP=""
+\fB-m\fP, \fB--message\fP=""
 	Provide the new message from the command line
 
 .PP
-\fB\-\-non\-interactive\fP[=false]
+\fB--non-interactive\fP[=false]
 	Do not ask for user input
 
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
 	help for add
 
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug\-comment(1)\fP
+\fBgit-bug-comment(1)\fP

doc/man/git-bug-comment-edit.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-comment\-edit \- Edit an existing comment on a bug.
+git-bug-comment-edit - Edit an existing comment on a bug.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug comment edit [COMMENT\_ID] [flags]\fP
+\fBgit-bug comment edit [COMMENT_ID] [flags]\fP
 
 
 .SH DESCRIPTION
@@ -18,22 +18,22 @@ Edit an existing comment on a bug.
 
 .SH OPTIONS
 .PP
-\fB\-F\fP, \fB\-\-file\fP=""
-	Take the message from the given file. Use \- to read the message from the standard input
+\fB-F\fP, \fB--file\fP=""
+	Take the message from the given file. Use - to read the message from the standard input
 
 .PP
-\fB\-m\fP, \fB\-\-message\fP=""
+\fB-m\fP, \fB--message\fP=""
 	Provide the new message from the command line
 
 .PP
-\fB\-\-non\-interactive\fP[=false]
+\fB--non-interactive\fP[=false]
 	Do not ask for user input
 
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
 	help for edit
 
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug\-comment(1)\fP
+\fBgit-bug-comment(1)\fP

doc/man/git-bug-comment.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-comment \- Display or add comments to a bug.
+git-bug-comment - Display or add comments to a bug.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug comment [ID] [flags]\fP
+\fBgit-bug comment [ID] [flags]\fP
 
 
 .SH DESCRIPTION
@@ -18,10 +18,10 @@ Display or add comments to a bug.
 
 .SH OPTIONS
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
 	help for comment
 
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug(1)\fP, \fBgit\-bug\-comment\-add(1)\fP, \fBgit\-bug\-comment\-edit(1)\fP
+\fBgit-bug(1)\fP, \fBgit-bug-comment-add(1)\fP, \fBgit-bug-comment-edit(1)\fP

doc/man/git-bug-deselect.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-deselect \- Clear the implicitly selected bug.
+git-bug-deselect - Clear the implicitly selected bug.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug deselect [flags]\fP
+\fBgit-bug deselect [flags]\fP
 
 
 .SH DESCRIPTION
@@ -18,7 +18,7 @@ Clear the implicitly selected bug.
 
 .SH OPTIONS
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
 	help for deselect
 
 
@@ -39,4 +39,4 @@ git bug deselect
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug(1)\fP
+\fBgit-bug(1)\fP

doc/man/git-bug-label-add.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-label\-add \- Add a label to a bug.
+git-bug-label-add - Add a label to a bug.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug label add [ID] LABEL... [flags]\fP
+\fBgit-bug label add [ID] LABEL... [flags]\fP
 
 
 .SH DESCRIPTION
@@ -18,10 +18,10 @@ Add a label to a bug.
 
 .SH OPTIONS
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
 	help for add
 
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug\-label(1)\fP
+\fBgit-bug-label(1)\fP

doc/man/git-bug-label-rm.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-label\-rm \- Remove a label from a bug.
+git-bug-label-rm - Remove a label from a bug.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug label rm [ID] LABEL... [flags]\fP
+\fBgit-bug label rm [ID] LABEL... [flags]\fP
 
 
 .SH DESCRIPTION
@@ -18,10 +18,10 @@ Remove a label from a bug.
 
 .SH OPTIONS
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
 	help for rm
 
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug\-label(1)\fP
+\fBgit-bug-label(1)\fP

doc/man/git-bug-label.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-label \- Display, add or remove labels to/from a bug.
+git-bug-label - Display, add or remove labels to/from a bug.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug label [ID] [flags]\fP
+\fBgit-bug label [ID] [flags]\fP
 
 
 .SH DESCRIPTION
@@ -18,10 +18,10 @@ Display, add or remove labels to/from a bug.
 
 .SH OPTIONS
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
 	help for label
 
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug(1)\fP, \fBgit\-bug\-label\-add(1)\fP, \fBgit\-bug\-label\-rm(1)\fP
+\fBgit-bug(1)\fP, \fBgit-bug-label-add(1)\fP, \fBgit-bug-label-rm(1)\fP

doc/man/git-bug-ls-id.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-ls\-id \- List bug identifiers.
+git-bug-ls-id - List bug identifiers.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug ls\-id [PREFIX] [flags]\fP
+\fBgit-bug ls-id [PREFIX] [flags]\fP
 
 
 .SH DESCRIPTION
@@ -18,10 +18,10 @@ List bug identifiers.
 
 .SH OPTIONS
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
-	help for ls\-id
+\fB-h\fP, \fB--help\fP[=false]
+	help for ls-id
 
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug(1)\fP
+\fBgit-bug(1)\fP

doc/man/git-bug-ls-label.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-ls\-label \- List valid labels.
+git-bug-ls-label - List valid labels.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug ls\-label [flags]\fP
+\fBgit-bug ls-label [flags]\fP
 
 
 .SH DESCRIPTION
@@ -21,10 +21,10 @@ Note: in the future, a proper label policy could be implemented where valid labe
 
 .SH OPTIONS
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
-	help for ls\-label
+\fB-h\fP, \fB--help\fP[=false]
+	help for ls-label
 
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug(1)\fP
+\fBgit-bug(1)\fP

doc/man/git-bug-ls.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-ls \- List bugs.
+git-bug-ls - List bugs.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug ls [QUERY] [flags]\fP
+\fBgit-bug ls [QUERY] [flags]\fP
 
 
 .SH DESCRIPTION
@@ -21,51 +21,51 @@ You can pass an additional query to filter and order the list. This query can be
 
 .SH OPTIONS
 .PP
-\fB\-s\fP, \fB\-\-status\fP=[]
+\fB-s\fP, \fB--status\fP=[]
 	Filter by status. Valid values are [open,closed]
 
 .PP
-\fB\-a\fP, \fB\-\-author\fP=[]
+\fB-a\fP, \fB--author\fP=[]
 	Filter by author
 
 .PP
-\fB\-m\fP, \fB\-\-metadata\fP=[]
-	Filter by metadata. Example: github\-url=URL
+\fB-m\fP, \fB--metadata\fP=[]
+	Filter by metadata. Example: github-url=URL
 
 .PP
-\fB\-p\fP, \fB\-\-participant\fP=[]
+\fB-p\fP, \fB--participant\fP=[]
 	Filter by participant
 
 .PP
-\fB\-A\fP, \fB\-\-actor\fP=[]
+\fB-A\fP, \fB--actor\fP=[]
 	Filter by actor
 
 .PP
-\fB\-l\fP, \fB\-\-label\fP=[]
+\fB-l\fP, \fB--label\fP=[]
 	Filter by label
 
 .PP
-\fB\-t\fP, \fB\-\-title\fP=[]
+\fB-t\fP, \fB--title\fP=[]
 	Filter by title
 
 .PP
-\fB\-n\fP, \fB\-\-no\fP=[]
+\fB-n\fP, \fB--no\fP=[]
 	Filter by absence of something. Valid values are [label]
 
 .PP
-\fB\-b\fP, \fB\-\-by\fP="creation"
+\fB-b\fP, \fB--by\fP="creation"
 	Sort the results by a characteristic. Valid values are [id,creation,edit]
 
 .PP
-\fB\-d\fP, \fB\-\-direction\fP="asc"
+\fB-d\fP, \fB--direction\fP="asc"
 	Select the sorting direction. Valid values are [asc,desc]
 
 .PP
-\fB\-f\fP, \fB\-\-format\fP="default"
-	Select the output formatting style. Valid values are [default,plain,json,org\-mode]
+\fB-f\fP, \fB--format\fP="default"
+	Select the output formatting style. Valid values are [default,plain,json,org-mode]
 
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
 	help for ls
 
 
@@ -75,16 +75,16 @@ You can pass an additional query to filter and order the list. This query can be
 
 .nf
 List open bugs sorted by last edition with a query:
-git bug ls status:open sort:edit\-desc
+git bug ls status:open sort:edit-desc
 
 List closed bugs sorted by creation with flags:
-git bug ls \-\-status closed \-\-by creation
+git bug ls --status closed --by creation
 
 Do a full text search of all bugs:
 git bug ls "foo bar" baz
 
 Use queries, flags, and full text search:
-git bug ls status:open \-\-by creation "foo bar" baz
+git bug ls status:open --by creation "foo bar" baz
 
 
 .fi
@@ -93,4 +93,4 @@ git bug ls status:open \-\-by creation "foo bar" baz
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug(1)\fP
+\fBgit-bug(1)\fP

doc/man/git-bug-pull.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-pull \- Pull bugs update from a git remote.
+git-bug-pull - Pull bugs update from a git remote.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug pull [REMOTE] [flags]\fP
+\fBgit-bug pull [REMOTE] [flags]\fP
 
 
 .SH DESCRIPTION
@@ -18,10 +18,10 @@ Pull bugs update from a git remote.
 
 .SH OPTIONS
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
 	help for pull
 
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug(1)\fP
+\fBgit-bug(1)\fP

doc/man/git-bug-push.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-push \- Push bugs update to a git remote.
+git-bug-push - Push bugs update to a git remote.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug push [REMOTE] [flags]\fP
+\fBgit-bug push [REMOTE] [flags]\fP
 
 
 .SH DESCRIPTION
@@ -18,10 +18,10 @@ Push bugs update to a git remote.
 
 .SH OPTIONS
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
 	help for push
 
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug(1)\fP
+\fBgit-bug(1)\fP

doc/man/git-bug-rm.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-rm \- Remove an existing bug.
+git-bug-rm - Remove an existing bug.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug rm ID [flags]\fP
+\fBgit-bug rm ID [flags]\fP
 
 
 .SH DESCRIPTION
@@ -18,10 +18,10 @@ Remove an existing bug in the local repository. Note removing bugs that were imp
 
 .SH OPTIONS
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
 	help for rm
 
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug(1)\fP
+\fBgit-bug(1)\fP

doc/man/git-bug-select.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-select \- Select a bug for implicit use in future commands.
+git-bug-select - Select a bug for implicit use in future commands.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug select ID [flags]\fP
+\fBgit-bug select ID [flags]\fP
 
 
 .SH DESCRIPTION
@@ -27,7 +27,7 @@ The complementary command is "git bug deselect" performing the opposite operatio
 
 .SH OPTIONS
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
 	help for select
 
 
@@ -47,4 +47,4 @@ git bug status
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug(1)\fP
+\fBgit-bug(1)\fP

doc/man/git-bug-show.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-show \- Display the details of a bug.
+git-bug-show - Display the details of a bug.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug show [ID] [flags]\fP
+\fBgit-bug show [ID] [flags]\fP
 
 
 .SH DESCRIPTION
@@ -18,18 +18,18 @@ Display the details of a bug.
 
 .SH OPTIONS
 .PP
-\fB\-\-field\fP=""
+\fB--field\fP=""
 	Select field to display. Valid values are [author,authorEmail,createTime,lastEdit,humanId,id,labels,shortId,status,title,actors,participants]
 
 .PP
-\fB\-f\fP, \fB\-\-format\fP="default"
-	Select the output formatting style. Valid values are [default,json,org\-mode]
+\fB-f\fP, \fB--format\fP="default"
+	Select the output formatting style. Valid values are [default,json,org-mode]
 
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
 	help for show
 
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug(1)\fP
+\fBgit-bug(1)\fP

doc/man/git-bug-status-close.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-status\-close \- Mark a bug as closed.
+git-bug-status-close - Mark a bug as closed.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug status close [ID] [flags]\fP
+\fBgit-bug status close [ID] [flags]\fP
 
 
 .SH DESCRIPTION
@@ -18,10 +18,10 @@ Mark a bug as closed.
 
 .SH OPTIONS
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
 	help for close
 
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug\-status(1)\fP
+\fBgit-bug-status(1)\fP

doc/man/git-bug-status-open.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-status\-open \- Mark a bug as open.
+git-bug-status-open - Mark a bug as open.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug status open [ID] [flags]\fP
+\fBgit-bug status open [ID] [flags]\fP
 
 
 .SH DESCRIPTION
@@ -18,10 +18,10 @@ Mark a bug as open.
 
 .SH OPTIONS
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
 	help for open
 
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug\-status(1)\fP
+\fBgit-bug-status(1)\fP

doc/man/git-bug-status.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-status \- Display or change a bug status.
+git-bug-status - Display or change a bug status.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug status [ID] [flags]\fP
+\fBgit-bug status [ID] [flags]\fP
 
 
 .SH DESCRIPTION
@@ -18,10 +18,10 @@ Display or change a bug status.
 
 .SH OPTIONS
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
 	help for status
 
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug(1)\fP, \fBgit\-bug\-status\-close(1)\fP, \fBgit\-bug\-status\-open(1)\fP
+\fBgit-bug(1)\fP, \fBgit-bug-status-close(1)\fP, \fBgit-bug-status-open(1)\fP

doc/man/git-bug-termui.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-termui \- Launch the terminal UI.
+git-bug-termui - Launch the terminal UI.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug termui [flags]\fP
+\fBgit-bug termui [flags]\fP
 
 
 .SH DESCRIPTION
@@ -18,10 +18,10 @@ Launch the terminal UI.
 
 .SH OPTIONS
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
 	help for termui
 
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug(1)\fP
+\fBgit-bug(1)\fP

doc/man/git-bug-title-edit.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-title\-edit \- Edit a title of a bug.
+git-bug-title-edit - Edit a title of a bug.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug title edit [ID] [flags]\fP
+\fBgit-bug title edit [ID] [flags]\fP
 
 
 .SH DESCRIPTION
@@ -18,18 +18,18 @@ Edit a title of a bug.
 
 .SH OPTIONS
 .PP
-\fB\-t\fP, \fB\-\-title\fP=""
+\fB-t\fP, \fB--title\fP=""
 	Provide a title to describe the issue
 
 .PP
-\fB\-\-non\-interactive\fP[=false]
+\fB--non-interactive\fP[=false]
 	Do not ask for user input
 
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
 	help for edit
 
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug\-title(1)\fP
+\fBgit-bug-title(1)\fP

doc/man/git-bug-title.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-title \- Display or change a title of a bug.
+git-bug-title - Display or change a title of a bug.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug title [ID] [flags]\fP
+\fBgit-bug title [ID] [flags]\fP
 
 
 .SH DESCRIPTION
@@ -18,10 +18,10 @@ Display or change a title of a bug.
 
 .SH OPTIONS
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
 	help for title
 
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug(1)\fP, \fBgit\-bug\-title\-edit(1)\fP
+\fBgit-bug(1)\fP, \fBgit-bug-title-edit(1)\fP

doc/man/git-bug-user-adopt.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-user\-adopt \- Adopt an existing identity as your own.
+git-bug-user-adopt - Adopt an existing identity as your own.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug user adopt USER\-ID [flags]\fP
+\fBgit-bug user adopt USER-ID [flags]\fP
 
 
 .SH DESCRIPTION
@@ -18,10 +18,10 @@ Adopt an existing identity as your own.
 
 .SH OPTIONS
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
 	help for adopt
 
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug\-user(1)\fP
+\fBgit-bug-user(1)\fP

doc/man/git-bug-user-create.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-user\-create \- Create a new identity.
+git-bug-user-create - Create a new identity.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug user create [flags]\fP
+\fBgit-bug user create [flags]\fP
 
 
 .SH DESCRIPTION
@@ -18,26 +18,26 @@ Create a new identity.
 
 .SH OPTIONS
 .PP
-\fB\-a\fP, \fB\-\-avatar\fP=""
+\fB-a\fP, \fB--avatar\fP=""
 	Avatar URL
 
 .PP
-\fB\-e\fP, \fB\-\-email\fP=""
+\fB-e\fP, \fB--email\fP=""
 	Email of the user
 
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
 	help for create
 
 .PP
-\fB\-n\fP, \fB\-\-name\fP=""
+\fB-n\fP, \fB--name\fP=""
 	Name to identify the user
 
 .PP
-\fB\-\-non\-interactive\fP[=false]
+\fB--non-interactive\fP[=false]
 	Do not ask for user input
 
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug\-user(1)\fP
+\fBgit-bug-user(1)\fP

doc/man/git-bug-user-ls.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-user\-ls \- List identities.
+git-bug-user-ls - List identities.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug user ls [flags]\fP
+\fBgit-bug user ls [flags]\fP
 
 
 .SH DESCRIPTION
@@ -18,14 +18,14 @@ List identities.
 
 .SH OPTIONS
 .PP
-\fB\-f\fP, \fB\-\-format\fP="default"
+\fB-f\fP, \fB--format\fP="default"
 	Select the output formatting style. Valid values are [default,json]
 
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
 	help for ls
 
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug\-user(1)\fP
+\fBgit-bug-user(1)\fP

doc/man/git-bug-user.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-user \- Display or change the user identity.
+git-bug-user - Display or change the user identity.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug user [USER\-ID] [flags]\fP
+\fBgit-bug user [USER-ID] [flags]\fP
 
 
 .SH DESCRIPTION
@@ -18,14 +18,14 @@ Display or change the user identity.
 
 .SH OPTIONS
 .PP
-\fB\-f\fP, \fB\-\-field\fP=""
+\fB-f\fP, \fB--field\fP=""
 	Select field to display. Valid values are [email,humanId,id,lastModification,lastModificationLamports,login,metadata,name]
 
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
 	help for user
 
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug(1)\fP, \fBgit\-bug\-user\-adopt(1)\fP, \fBgit\-bug\-user\-create(1)\fP, \fBgit\-bug\-user\-ls(1)\fP
+\fBgit-bug(1)\fP, \fBgit-bug-user-adopt(1)\fP, \fBgit-bug-user-create(1)\fP, \fBgit-bug-user-ls(1)\fP

doc/man/git-bug-version.1 🔗

@@ -1,39 +1,39 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-version \- Show git\-bug version information.
+git-bug-version - Show git-bug version information.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug version [flags]\fP
+\fBgit-bug version [flags]\fP
 
 
 .SH DESCRIPTION
 .PP
-Show git\-bug version information.
+Show git-bug version information.
 
 
 .SH OPTIONS
 .PP
-\fB\-n\fP, \fB\-\-number\fP[=false]
+\fB-n\fP, \fB--number\fP[=false]
 	Only show the version number
 
 .PP
-\fB\-c\fP, \fB\-\-commit\fP[=false]
+\fB-c\fP, \fB--commit\fP[=false]
 	Only show the commit hash
 
 .PP
-\fB\-a\fP, \fB\-\-all\fP[=false]
+\fB-a\fP, \fB--all\fP[=false]
 	Show all version information
 
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
 	help for version
 
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug(1)\fP
+\fBgit-bug(1)\fP

doc/man/git-bug-webui.1 🔗

@@ -1,14 +1,14 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug\-webui \- Launch the web UI.
+git-bug-webui - Launch the web UI.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug webui [flags]\fP
+\fBgit-bug webui [flags]\fP
 
 
 .SH DESCRIPTION
@@ -17,39 +17,39 @@ Launch the web UI.
 
 .PP
 Available git config:
-  git\-bug.webui.open [bool]: control the automatic opening of the web UI in the default browser
+  git-bug.webui.open [bool]: control the automatic opening of the web UI in the default browser
 
 
 .SH OPTIONS
 .PP
-\fB\-\-host\fP="127.0.0.1"
+\fB--host\fP="127.0.0.1"
 	Network address or hostname to listen to (default to 127.0.0.1)
 
 .PP
-\fB\-\-open\fP[=false]
+\fB--open\fP[=false]
 	Automatically open the web UI in the default browser
 
 .PP
-\fB\-\-no\-open\fP[=false]
+\fB--no-open\fP[=false]
 	Prevent the automatic opening of the web UI in the default browser
 
 .PP
-\fB\-p\fP, \fB\-\-port\fP=0
+\fB-p\fP, \fB--port\fP=0
 	Port to listen to (default to random available port)
 
 .PP
-\fB\-\-read\-only\fP[=false]
-	Whether to run the web UI in read\-only mode
+\fB--read-only\fP[=false]
+	Whether to run the web UI in read-only mode
 
 .PP
-\fB\-q\fP, \fB\-\-query\fP=""
+\fB-q\fP, \fB--query\fP=""
 	The query to open in the web UI bug list
 
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
+\fB-h\fP, \fB--help\fP[=false]
 	help for webui
 
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug(1)\fP
+\fBgit-bug(1)\fP

doc/man/git-bug.1 🔗

@@ -1,32 +1,32 @@
 .nh
-.TH "GIT\-BUG" "1" "Apr 2019" "Generated from git\-bug's source code" ""
+.TH "GIT-BUG" "1" "Apr 2019" "Generated from git-bug's source code" ""
 
 .SH NAME
 .PP
-git\-bug \- A bug tracker embedded in Git.
+git-bug - A bug tracker embedded in Git.
 
 
 .SH SYNOPSIS
 .PP
-\fBgit\-bug [flags]\fP
+\fBgit-bug [flags]\fP
 
 
 .SH DESCRIPTION
 .PP
-git\-bug is a bug tracker embedded in git.
+git-bug is a bug tracker embedded in git.
 
 .PP
-git\-bug use git objects to store the bug tracking separated from the files
+git-bug use git objects to store the bug tracking separated from the files
 history. As bugs are regular git objects, they can be pushed and pulled from/to
 the same git remote you are already using to collaborate with other people.
 
 
 .SH OPTIONS
 .PP
-\fB\-h\fP, \fB\-\-help\fP[=false]
-	help for git\-bug
+\fB-h\fP, \fB--help\fP[=false]
+	help for git-bug
 
 
 .SH SEE ALSO
 .PP
-\fBgit\-bug\-add(1)\fP, \fBgit\-bug\-bridge(1)\fP, \fBgit\-bug\-commands(1)\fP, \fBgit\-bug\-comment(1)\fP, \fBgit\-bug\-deselect(1)\fP, \fBgit\-bug\-label(1)\fP, \fBgit\-bug\-ls(1)\fP, \fBgit\-bug\-ls\-id(1)\fP, \fBgit\-bug\-ls\-label(1)\fP, \fBgit\-bug\-pull(1)\fP, \fBgit\-bug\-push(1)\fP, \fBgit\-bug\-rm(1)\fP, \fBgit\-bug\-select(1)\fP, \fBgit\-bug\-show(1)\fP, \fBgit\-bug\-status(1)\fP, \fBgit\-bug\-termui(1)\fP, \fBgit\-bug\-title(1)\fP, \fBgit\-bug\-user(1)\fP, \fBgit\-bug\-version(1)\fP, \fBgit\-bug\-webui(1)\fP
+\fBgit-bug-add(1)\fP, \fBgit-bug-bridge(1)\fP, \fBgit-bug-commands(1)\fP, \fBgit-bug-comment(1)\fP, \fBgit-bug-deselect(1)\fP, \fBgit-bug-label(1)\fP, \fBgit-bug-ls(1)\fP, \fBgit-bug-ls-id(1)\fP, \fBgit-bug-ls-label(1)\fP, \fBgit-bug-pull(1)\fP, \fBgit-bug-push(1)\fP, \fBgit-bug-rm(1)\fP, \fBgit-bug-select(1)\fP, \fBgit-bug-show(1)\fP, \fBgit-bug-status(1)\fP, \fBgit-bug-termui(1)\fP, \fBgit-bug-title(1)\fP, \fBgit-bug-user(1)\fP, \fBgit-bug-version(1)\fP, \fBgit-bug-webui(1)\fP

go.mod 🔗

@@ -3,7 +3,7 @@ module github.com/MichaelMure/git-bug
 go 1.15
 
 require (
-	github.com/99designs/gqlgen v0.10.3-0.20200209012558-b7a58a1c0e4b
+	github.com/99designs/gqlgen v0.16.0
 	github.com/99designs/keyring v1.1.6
 	github.com/MichaelMure/go-term-text v0.3.1
 	github.com/araddon/dateparse v0.0.0-20190622164848-0fb0a474d195
@@ -16,7 +16,6 @@ require (
 	github.com/go-git/go-billy/v5 v5.3.1
 	github.com/go-git/go-git/v5 v5.4.2
 	github.com/gorilla/mux v1.8.0
-	github.com/gorilla/websocket v1.4.2 // indirect
 	github.com/hashicorp/golang-lru v0.5.4
 	github.com/icrowley/fake v0.0.0-20180203215853-4178557ae428
 	github.com/mattn/go-isatty v0.0.14
@@ -27,7 +26,7 @@ require (
 	github.com/skratchdot/open-golang v0.0.0-20190402232053-79abb63cd66e
 	github.com/spf13/cobra v1.3.0
 	github.com/stretchr/testify v1.7.0
-	github.com/vektah/gqlparser v1.3.1
+	github.com/vektah/gqlparser/v2 v2.2.0
 	github.com/xanzy/go-gitlab v0.54.3
 	golang.org/x/crypto v0.0.0-20210817164053-32db794688a5
 	golang.org/x/oauth2 v0.0.0-20211104180415-d3ed0bb246c8

go.sum 🔗

@@ -46,8 +46,8 @@ cloud.google.com/go/storage v1.6.0/go.mod h1:N7U0C8pVQ/+NIKOBQyamJIeKQKkZ+mxpohl
 cloud.google.com/go/storage v1.8.0/go.mod h1:Wv1Oy7z6Yz3DshWRJFhqM/UCfaWIRTdp0RXyy7KQOVs=
 cloud.google.com/go/storage v1.10.0/go.mod h1:FLPqc6j+Ki4BU591ie1oL6qBQGu2Bl/tZ9ullr3+Kg0=
 dmitri.shuralyov.com/gpu/mtl v0.0.0-20190408044501-666a987793e9/go.mod h1:H6x//7gZCb22OMCxBHrMx7a5I7Hp++hsVxbQ4BYO7hU=
-github.com/99designs/gqlgen v0.10.3-0.20200209012558-b7a58a1c0e4b h1:510xa84qGbDemwTHNio4cLWkdKFxxJgVtsIOH+Ku8bo=
-github.com/99designs/gqlgen v0.10.3-0.20200209012558-b7a58a1c0e4b/go.mod h1:dfBhwZKMcSYiYRMTs8qWF+Oha6782e1xPfgRmVal9I8=
+github.com/99designs/gqlgen v0.16.0 h1:7Qc4Ll3mfN3doAyUWOgtGLcBGu+KDgK48HdkBGLZVFs=
+github.com/99designs/gqlgen v0.16.0/go.mod h1:nbeSjFkqphIqpZsYe1ULVz0yfH8hjpJdJIQoX/e0G2I=
 github.com/99designs/keyring v1.1.6 h1:kVDC2uCgVwecxCk+9zoCt2uEL6dt+dfVzMvGgnVcIuM=
 github.com/99designs/keyring v1.1.6/go.mod h1:16e0ds7LGQQcT59QqkTg72Hh5ShM51Byv5PEmW6uoRU=
 github.com/BurntSushi/toml v0.3.1/go.mod h1:xHWCNGjB5oqiDr8zfno3MHue2Ht5sIBksp03qcyfWMU=
@@ -68,8 +68,9 @@ github.com/RoaringBitmap/roaring v0.4.23 h1:gpyfd12QohbqhFO4NVDUdoPOCXsyahYRQhIN
 github.com/RoaringBitmap/roaring v0.4.23/go.mod h1:D0gp8kJQgE1A4LQ5wFLggQEyvDi06Mq5mKs52e1TwOo=
 github.com/acomagu/bufpipe v1.0.3 h1:fxAGrHZTgQ9w5QqVItgzwj235/uYZYgbXitB+dLupOk=
 github.com/acomagu/bufpipe v1.0.3/go.mod h1:mxdxdup/WdsKVreO5GpW4+M/1CE2sMG4jeGJ2sYmHc4=
-github.com/agnivade/levenshtein v1.0.1 h1:3oJU7J3FGFmyhn8KHjmVaZCN5hxTr7GxgRue+sxIXdQ=
 github.com/agnivade/levenshtein v1.0.1/go.mod h1:CURSv5d9Uaml+FovSIICkLbAUZ9S4RqaHDIsdSBg7lM=
+github.com/agnivade/levenshtein v1.1.0 h1:n6qGwyHG61v3ABce1rPVZklEYRT8NFpCMrpZdBUbYGM=
+github.com/agnivade/levenshtein v1.1.0/go.mod h1:veldBMzWxcCG2ZvUTKD2kJNRdCk5hVbJomOvKkmgYbo=
 github.com/alecthomas/template v0.0.0-20160405071501-a0175ee3bccc/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
 github.com/alecthomas/template v0.0.0-20190718012654-fb15b899a751/go.mod h1:LOuyumcjzFXgccqObfd/Ljyb9UuFJ6TxHnclSeseNhc=
 github.com/alecthomas/units v0.0.0-20151022065526-2efee857e7cf/go.mod h1:ybxpYRFXyAe+OPACYpWeL0wqObRcbAqCMya13uyzqw0=
@@ -81,6 +82,8 @@ github.com/anmitsu/go-shlex v0.0.0-20161002113705-648efa622239/go.mod h1:2FmKhYU
 github.com/antihax/optional v1.0.0/go.mod h1:uupD/76wgC+ih3iEmQUL+0Ugr19nfwCT1kdvxnR2qWY=
 github.com/araddon/dateparse v0.0.0-20190622164848-0fb0a474d195 h1:c4mLfegoDw6OhSJXTd2jUEQgZUQuJWtocudb97Qn9EM=
 github.com/araddon/dateparse v0.0.0-20190622164848-0fb0a474d195/go.mod h1:SLqhdZcd+dF3TEVL2RMoob5bBP5R1P1qkox+HtCBgGI=
+github.com/arbovm/levenshtein v0.0.0-20160628152529-48b4e1c0c4d0 h1:jfIu9sQUG6Ig+0+Ap1h4unLjW6YQJpKZVmUzxsD4E/Q=
+github.com/arbovm/levenshtein v0.0.0-20160628152529-48b4e1c0c4d0/go.mod h1:t2tdKJDJF9BV14lnkjHmOQgcvEKgtqs5a1N3LNdJhGE=
 github.com/armon/circbuf v0.0.0-20150827004946-bbbad097214e/go.mod h1:3U/XgcO3hCbHZ8TKRvWD2dDTCfh9M9ya+I9JpbB7O8o=
 github.com/armon/consul-api v0.0.0-20180202201655-eb2c6b5be1b6/go.mod h1:grANhF5doyWs3UAsr3K4I6qtAmlQcZDesFNEHPZAzj8=
 github.com/armon/go-metrics v0.0.0-20180917152333-f0300d1749da/go.mod h1:Q73ZrmVTwzkszR9V5SSuryQ31EELlFMUz1kKyl939pY=
@@ -165,6 +168,7 @@ github.com/couchbase/vellum v1.0.2 h1:BrbP0NKiyDdndMPec8Jjhy0U47CZ0Lgx3xUC2r9rZq
 github.com/couchbase/vellum v1.0.2/go.mod h1:FcwrEivFpNi24R3jLOs3n+fs5RnuQnQqCLBJ1uAg1W4=
 github.com/cpuguy83/go-md2man v1.0.10 h1:BSKMNlYxDvnunlTymqtgONjNnaRV1sTpcovwwjF22jk=
 github.com/cpuguy83/go-md2man v1.0.10/go.mod h1:SmD6nW6nTyfqj6ABTjUi3V3JVMnlJmwcJI5acqYI6dE=
+github.com/cpuguy83/go-md2man/v2 v2.0.0-20190314233015-f79a8a8ca69d/go.mod h1:maD7wRr/U5Z6m/iR4s+kqSMx2CaBsrgA7czyZG/E6dU=
 github.com/cpuguy83/go-md2man/v2 v2.0.1 h1:r/myEWzV9lfsM1tFLgDyu0atFtJ1fXn261LKYj/3DxU=
 github.com/cpuguy83/go-md2man/v2 v2.0.1/go.mod h1:tgQtvFlXSQOSOSIRvRPT7W67SCa46tRHOmNcaadrF8o=
 github.com/creack/pty v1.1.9/go.mod h1:oKZEueFk5CKHvIhNR5MUki03XCEU+Q6VDXinZuGJ33E=
@@ -179,6 +183,8 @@ github.com/danieljoos/wincred v1.0.2/go.mod h1:SnuYRW9lp1oJrZX/dXJqr0cPK5gYXqx3E
 github.com/davecgh/go-spew v1.1.0/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
 github.com/davecgh/go-spew v1.1.1 h1:vj9j/u1bqnvCEfJOwUhtlOARqs3+rkHYY13jYWTU97c=
 github.com/davecgh/go-spew v1.1.1/go.mod h1:J7Y8YcW2NihsgmVo/mv3lAwl/skON4iLHjSsI+c5H38=
+github.com/dgryski/trifles v0.0.0-20200323201526-dd97f9abfb48 h1:fRzb/w+pyskVMQ+UbP35JkH8yB7MYb4q/qhBarqZE6g=
+github.com/dgryski/trifles v0.0.0-20200323201526-dd97f9abfb48/go.mod h1:if7Fbed8SFyPtHLHbg49SI7NAdJiC5WIA09pe59rfAA=
 github.com/dustin/go-humanize v1.0.0 h1:VSnTsYCnlFHaM2/igO1h6X3HA71jcobQuxemgkq4zYo=
 github.com/dustin/go-humanize v1.0.0/go.mod h1:HtrtbFcZ19U5GC7JDqmcUSB87Iq5E25KnS6fMYU6eOk=
 github.com/dvsekhvalnov/jose2go v0.0.0-20200901110807-248326c1351b h1:HBah4D48ypg3J7Np4N+HY/ZR76fx3HEUGxDU6Uk39oQ=
@@ -218,7 +224,6 @@ github.com/glycerine/go-unsnap-stream v0.0.0-20181221182339-f9677308dec2 h1:Ujru
 github.com/glycerine/go-unsnap-stream v0.0.0-20181221182339-f9677308dec2/go.mod h1:/20jfyN9Y5QPEAprSgKAUr+glWDY39ZiUEAYOEv5dsE=
 github.com/glycerine/goconvey v0.0.0-20190410193231-58a59202ab31 h1:gclg6gY70GLy3PbkQ1AERPfmLMMagS60DKF78eWwLn8=
 github.com/glycerine/goconvey v0.0.0-20190410193231-58a59202ab31/go.mod h1:Ogl1Tioa0aV7gstGFO7KhffUsb9M4ydbEbbxpcEDc24=
-github.com/go-chi/chi v3.3.2+incompatible/go.mod h1:eB3wogJHnLi3x/kFX2A+IbTBlXxmMeXJVKy9tTv1XzQ=
 github.com/go-errors/errors v1.0.1 h1:LUHzmkK3GUKUrL/1gfBUxAHzcev3apQlezX/+O7ma6w=
 github.com/go-errors/errors v1.0.1/go.mod h1:f4zRHt4oKfwPJE5k8C9vpYG+aDHdBFUsgrm6/TyX73Q=
 github.com/go-git/gcfg v1.5.0 h1:Q5ViNfGF8zFgyJWPqYwA7qGFoMTEiBmdlkcfRmpIMa4=
@@ -241,7 +246,6 @@ github.com/go-stack/stack v1.8.0/go.mod h1:v0f6uXyyMGvRgIKkXu+yp6POWl0qKG85gN/me
 github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2 h1:ZpnhV/YsD2/4cESfV5+Hoeu/iUR3ruzNvZ+yQfO03a0=
 github.com/godbus/dbus v0.0.0-20190726142602-4481cbc300e2/go.mod h1:bBOAhwG1umN6/6ZUMtDFBMQR8jRg9O75tm9K00oMsK4=
 github.com/godbus/dbus/v5 v5.0.4/go.mod h1:xhWf0FNVPg57R7Z0UbKHbJfkEywrmjJnf7w5xrFpKfA=
-github.com/gogo/protobuf v1.0.0/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
 github.com/gogo/protobuf v1.1.1/go.mod h1:r8qH/GZQm5c6nD/R0oafs1akxWv10x8SbQlK7atdtwQ=
 github.com/gogo/protobuf v1.3.2/go.mod h1:P1XiOD3dCwIKUDQYPy72D8LYyHL2YPYrpS2s69NZV8Q=
 github.com/golang/glog v0.0.0-20160126235308-23def4e6c14b/go.mod h1:SBH7ygxi8pfUlaOkMMuAQtPIUF8ecWP5IEl/CR7VP2Q=
@@ -324,11 +328,8 @@ github.com/googleapis/gax-go/v2 v2.1.0/go.mod h1:Q3nei7sK6ybPYH7twZdmQpAd1MKb7pf
 github.com/googleapis/gax-go/v2 v2.1.1/go.mod h1:hddJymUZASv3XPyGkUpKj8pPO47Rmb0eJc8R6ouapiM=
 github.com/gopherjs/gopherjs v0.0.0-20190910122728-9d188e94fb99 h1:twflg0XRTjwKpxb/jFExr4HGq6on2dEOmnL6FV+fgPw=
 github.com/gopherjs/gopherjs v0.0.0-20190910122728-9d188e94fb99/go.mod h1:wJfORRmW1u3UXTncJ5qlYoELFm8eSnnEO6hX4iZ3EWY=
-github.com/gorilla/context v0.0.0-20160226214623-1ea25387ff6f/go.mod h1:kBGZzfjB9CEq2AlWe17Uuf7NDRt0dE0s8S51q0aT7Yg=
-github.com/gorilla/mux v1.6.1/go.mod h1:1lud6UwP+6orDFRuTfBEV8e9/aOM/c4fVVCaMa2zaAs=
 github.com/gorilla/mux v1.8.0 h1:i40aqfkR1h2SlN9hojwV5ZA91wcXFOvkdNIeFDP5koI=
 github.com/gorilla/mux v1.8.0/go.mod h1:DVbg23sWSpFRCP0SfiEN6jmj59UnW/n46BH5rLB71So=
-github.com/gorilla/websocket v1.2.0/go.mod h1:E7qHFY5m1UJ88s3WnNqhKjPHQ0heANvMoAMk2YaljkQ=
 github.com/gorilla/websocket v1.4.2 h1:+/TMaTYc4QFitKJxsQ7Yye35DkWvkdLcvGKqM+x0Ufc=
 github.com/gorilla/websocket v1.4.2/go.mod h1:YR8l580nyteQvAITg2hZ9XVh4b55+EU/adAjf1fMHhE=
 github.com/grpc-ecosystem/grpc-gateway v1.16.0/go.mod h1:BDjrQk3hbvj6Nolgz8mAMFbcEtjT1g+wF4CSlocrBnw=
@@ -398,6 +399,7 @@ github.com/jtolds/gls v4.20.0+incompatible/go.mod h1:QJZ7F/aHp+rZTRtaJ1ow/lLfFfV
 github.com/julienschmidt/httprouter v1.2.0/go.mod h1:SYymIcj16QtmaHHD7aYtjjsJG7VTCxuUUipMqKk8s4w=
 github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351 h1:DowS9hvgyYSX4TO5NpyC606/Z4SxnNYbT+WX27or6Ck=
 github.com/kevinburke/ssh_config v0.0.0-20201106050909-4977a11b4351/go.mod h1:CT57kijsi8u/K/BOFA39wgDQJ9CxiF4nAY/ojJ6r6mM=
+github.com/kevinmbeaulieu/eq-go v1.0.0/go.mod h1:G3S8ajA56gKBZm4UB9AOyoOS37JO3roToPzKNM8dtdM=
 github.com/keybase/go-keychain v0.0.0-20190712205309-48d3d31d256d h1:Z+RDyXzjKE0i2sTjZ/b1uxiGtPhFy34Ou/Tk0qwN0kM=
 github.com/keybase/go-keychain v0.0.0-20190712205309-48d3d31d256d/go.mod h1:JJNrCn9otv/2QP4D7SMJBgaleKpOf66PnW6F5WGNRIc=
 github.com/kisielk/errcheck v1.5.0/go.mod h1:pFxgyoBC7bSaBwPgfKdkLd5X25qrDl4LWUI2bnpBCr8=
@@ -414,13 +416,13 @@ github.com/kr/pty v1.1.1/go.mod h1:pFQYn66WHrOpPYNljwOMqo10TkYh1fy3cYio2l3bCsQ=
 github.com/kr/text v0.1.0/go.mod h1:4Jbv+DJW3UT/LiOwJeYQe1efqtUx/iVham/4vfdArNI=
 github.com/kr/text v0.2.0 h1:5Nx0Ya0ZqY2ygV366QzturHI13Jq95ApcVaJBhpS+AY=
 github.com/kr/text v0.2.0/go.mod h1:eLer722TekiGuMkidMxC/pM04lWEeraHUUmBw8l2grE=
-github.com/logrusorgru/aurora v0.0.0-20200102142835-e9ef32dff381/go.mod h1:7rIyQOR62GCctdiQpZ/zOJlFyk6y+94wXzv6RNZgaR4=
+github.com/logrusorgru/aurora/v3 v3.0.0/go.mod h1:vsR12bk5grlLvLXAYrBsb5Oc/N+LxAlxggSjiwMnCUc=
 github.com/lyft/protoc-gen-star v0.5.3/go.mod h1:V0xaHgaf5oCCqmcxYcWiDfTiKsZsRc87/1qhoTACD8w=
 github.com/magiconair/properties v1.8.0/go.mod h1:PppfXfuXeibc/6YijjN8zIbojt8czPbwD3XqdrwzmxQ=
 github.com/magiconair/properties v1.8.5/go.mod h1:y3VJvCyxH9uVvJTWEGAELF3aiYNyPKd5NZ3oSwXrF60=
 github.com/matryer/is v1.2.0 h1:92UTHpy8CDwaJ08GqLDzhhuixiBUUD1p3AU6PHddz4A=
 github.com/matryer/is v1.2.0/go.mod h1:2fLPjFQM9rhQ15aVEtbuwhJinnOqrmgXPNdZsdwlWXA=
-github.com/matryer/moq v0.0.0-20200106131100-75d0ddfc0007/go.mod h1:9ELz6aaclSIGnZBoaSLZ3NAl1VTufbOrXBPvtcy6WiQ=
+github.com/matryer/moq v0.2.3/go.mod h1:9RtPYjTnH1bSBIkpvtHkFN7nbWAnO7oRpdJkEIn6UtE=
 github.com/mattn/go-colorable v0.0.9/go.mod h1:9vuHe8Xs5qXnSaW/c/ABM9alt+Vo+STaOChaDxuIBZU=
 github.com/mattn/go-colorable v0.1.4/go.mod h1:U0ppj6V5qS13XJ6of8GYAs25YV2eR4EVcfRqFIhoBtE=
 github.com/mattn/go-colorable v0.1.6/go.mod h1:u6P/XSegPjTcexA+o6vUJrdnUu04hMope9wVRipJSqc=
@@ -446,8 +448,8 @@ github.com/mitchellh/go-homedir v1.1.0 h1:lukF9ziXFxDFPkA1vsr5zpc1XuPDn/wFntq5mG
 github.com/mitchellh/go-homedir v1.1.0/go.mod h1:SfyaCUpYCn1Vlf4IUYiD9fPX4A5wJrkLzIz1N1q0pr0=
 github.com/mitchellh/go-testing-interface v1.0.0/go.mod h1:kRemZodwjscx+RGhAo8eIhFbs2+BFgRtFPeD/KE+zxI=
 github.com/mitchellh/mapstructure v0.0.0-20160808181253-ca63d7c062ee/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
-github.com/mitchellh/mapstructure v0.0.0-20180203102830-a4e142e9c047/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
 github.com/mitchellh/mapstructure v1.1.2/go.mod h1:FVVH3fgwuzCH5S8UJGiWEs2h04kUh9fWfEaFds41c1Y=
+github.com/mitchellh/mapstructure v1.2.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
 github.com/mitchellh/mapstructure v1.4.3 h1:OVowDSCllw/YjdLkam3/sm7wEtOy59d8ndGgCcyj8cs=
 github.com/mitchellh/mapstructure v1.4.3/go.mod h1:bFUtVrKA4DC2yAKiSyO/QUcy7e+RRV2QTWOzhPopBRo=
 github.com/modern-go/concurrent v0.0.0-20180228061459-e0a39a4cb421/go.mod h1:6dJC0mAP4ikYIbvyc7fijjWJddQyLn8Ig3JB5CqoB9Q=
@@ -468,8 +470,6 @@ github.com/onsi/ginkgo v1.7.0 h1:WSHQ+IS43OoUrWtD1/bbclrwK8TTH5hzp+umCiuxHgs=
 github.com/onsi/ginkgo v1.7.0/go.mod h1:lLunBs/Ym6LB5Z9jYTR76FiuTmxDTDusOGeTQH+WWjE=
 github.com/onsi/gomega v1.4.3 h1:RE1xgDvH7imwFD45h+u2SgIfERHlS2yNG4DObb5BSKU=
 github.com/onsi/gomega v1.4.3/go.mod h1:ex+gbHU/CVuBBDIJjb2X0qEXbFg53c61hWP/1CpauHY=
-github.com/opentracing/basictracer-go v1.0.0/go.mod h1:QfBfYuafItcjQuMwinw9GhYKwFXS9KnPs5lxoYwgW74=
-github.com/opentracing/opentracing-go v1.0.2/go.mod h1:UkNAQd3GIcIGf0SeVgPpRdFStlNbqXla1AfSYxPUl2o=
 github.com/pascaldekloe/goe v0.0.0-20180627143212-57f6aae5913c/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc=
 github.com/pascaldekloe/goe v0.1.0/go.mod h1:lzWF7FIEvWOWxwDKqyGYQf6ZUaNfKdP144TG7ZOy1lc=
 github.com/pelletier/go-toml v1.2.0/go.mod h1:5z9KED0ma1S8pY6P1sdut58dfprrGBbd/94hg7ilaic=
@@ -506,23 +506,21 @@ github.com/rivo/uniseg v0.1.0 h1:+2KBaVoUmb9XzDsrx/Ct0W/EYOSFf/nWTauy++DprtY=
 github.com/rivo/uniseg v0.1.0/go.mod h1:J6wj4VEh+S6ZtnVlnTBMWIodfgj8LQOQFoIToxlJtxc=
 github.com/rogpeppe/fastuuid v1.2.0/go.mod h1:jVj6XXZzXRy/MSR5jhDC/2q6DgLz+nrA6LYCDYWNEvQ=
 github.com/rogpeppe/go-internal v1.3.0/go.mod h1:M8bDsm7K2OlrFYOpmOWEs/qY81heoFRclV5y23lUDJ4=
-github.com/rs/cors v1.6.0/go.mod h1:gFx+x8UowdsKA9AchylcLynDq+nNFfI8FkUZdN/jGCU=
 github.com/russross/blackfriday v1.5.2 h1:HyvC0ARfnZBqnXwABFeSZHpKvJHJJfPz81GNueLj0oo=
 github.com/russross/blackfriday v1.5.2/go.mod h1:JO/DiYxRf+HjHt06OyowR9PTA263kcR/rfWxYHBV53g=
+github.com/russross/blackfriday/v2 v2.0.1/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
 github.com/russross/blackfriday/v2 v2.1.0 h1:JIOH55/0cWyOuilr9/qlrm0BSXldqnqwMsf35Ld67mk=
 github.com/russross/blackfriday/v2 v2.1.0/go.mod h1:+Rmxgy9KzJVeS9/2gXHxylqXiyQDYRxCVz55jmeOWTM=
 github.com/ryanuber/columnize v0.0.0-20160712163229-9b3edd62028f/go.mod h1:sm1tb6uqfes/u+d4ooFouqFdy9/2g9QGwK3SQygK0Ts=
 github.com/sagikazarmark/crypt v0.3.0/go.mod h1:uD/D+6UF4SrIR1uGEv7bBNkNqLGqUr43MRiaGWX1Nig=
 github.com/sean-/seed v0.0.0-20170313163322-e2103e2c3529/go.mod h1:DxrIzT+xaE7yg65j358z/aeFdxmN0P9QXhEzd20vsDc=
-github.com/sergi/go-diff v1.0.0/go.mod h1:0CfEIISq7TuYL3j771MWULgwwjU+GofnZX9QAmXWZgo=
 github.com/sergi/go-diff v1.1.0 h1:we8PVUC3FE2uYfodKH/nBHMSetSfHDR6scGdBi+erh0=
 github.com/sergi/go-diff v1.1.0/go.mod h1:STckp+ISIX8hZLjrqAeVduY0gWCT9IjLuqbuNXdaHfM=
 github.com/shurcooL/githubv4 v0.0.0-20190601194912-068505affed7 h1:Vk3RiBQpF0Ja+OqbFG7lYTk79+l8Cm2QESLXB0x6u6U=
 github.com/shurcooL/githubv4 v0.0.0-20190601194912-068505affed7/go.mod h1:hAF0iLZy4td2EX+/8Tw+4nodhlMrwN3HupfaXj3zkGo=
 github.com/shurcooL/graphql v0.0.0-20181231061246-d48a9a75455f h1:tygelZueB1EtXkPI6mQ4o9DQ0+FKW41hTbunoXZCTqk=
 github.com/shurcooL/graphql v0.0.0-20181231061246-d48a9a75455f/go.mod h1:AuYgA5Kyo4c7HfUmvRGs/6rGlMMV/6B1bVnB9JxJEEg=
-github.com/shurcooL/httpfs v0.0.0-20171119174359-809beceb2371/go.mod h1:ZY1cvUeJuFPAdZ/B6v7RHavJWZn2YPVFQ1OSXhCGOkg=
-github.com/shurcooL/vfsgen v0.0.0-20180121065927-ffb13db8def0/go.mod h1:TrYk7fJVaAttu97ZZKrO9UbRa8izdowaMIZcxYMbVaw=
+github.com/shurcooL/sanitized_anchor_name v1.0.0/go.mod h1:1NzhyTcUVG4SuEtjjoZeVRXNmyL/1OwPU0+IJeTBvfc=
 github.com/sirupsen/logrus v1.2.0/go.mod h1:LxeOpSwHxABJmUn/MG1IvRgCAasNZTLOkJPxbbu5VWo=
 github.com/sirupsen/logrus v1.4.1/go.mod h1:ni0Sbl8bgC9z8RoU9G6nDWqqs/fq4eDPysMBDgk/93Q=
 github.com/sirupsen/logrus v1.4.2/go.mod h1:tLMulIdttU9McNUspp0xgXVQah82FyeX6MwdIuYE2rE=
@@ -550,7 +548,6 @@ github.com/stretchr/objx v0.1.0/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+
 github.com/stretchr/objx v0.1.1/go.mod h1:HFkY916IF+rwdDfMAkV7OtwuqBVzrE8GR6GFx+wExME=
 github.com/stretchr/objx v0.2.0 h1:Hbg2NidpLE8veEBkEZTL3CvlkUIVzuU9jDplZO54c48=
 github.com/stretchr/objx v0.2.0/go.mod h1:qt09Ya8vawLte6SNmTgCsAVtYtaKzEcn8ATUoHMkEqE=
-github.com/stretchr/testify v1.2.1/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
 github.com/stretchr/testify v1.2.2/go.mod h1:a8OnRcib4nhh0OaRAV+Yts87kKdq0PP7pXfy6kDkUVs=
 github.com/stretchr/testify v1.3.0/go.mod h1:M5WIy9Dh21IEIfnGCwXGc5bZfKNJtfHm1UVUgZn+9EI=
 github.com/stretchr/testify v1.4.0/go.mod h1:j7eGeouHqKxXV5pUuKE4zz7dFj8WfuZ+81PSLYec5m4=
@@ -568,10 +565,9 @@ github.com/tinylib/msgp v1.1.0 h1:9fQd+ICuRIu/ue4vxJZu6/LzxN0HwMds2nq/0cFvxHU=
 github.com/tinylib/msgp v1.1.0/go.mod h1:+d+yLhGm8mzTaHzB+wgMYrodPfmZrzkirds8fDWklFE=
 github.com/tv42/httpunix v0.0.0-20150427012821-b75d8614f926/go.mod h1:9ESjWnEqriFuLhtthL60Sar/7RFoluCcXsuvEwTV5KM=
 github.com/ugorji/go/codec v0.0.0-20181204163529-d75b2dcb6bc8/go.mod h1:VFNgLljTbGfSG7qAOspJ7OScBnGdDN/yBr0sguwnwf0=
-github.com/urfave/cli v1.20.0/go.mod h1:70zkFmudgCuE/ngEzBv17Jvp/497gISqfk5gWijbERA=
-github.com/vektah/dataloaden v0.2.1-0.20190515034641-a19b9a6e7c9e/go.mod h1:/HUdMve7rvxZma+2ZELQeNh88+003LL7Pf/CZ089j8U=
-github.com/vektah/gqlparser v1.3.1 h1:8b0IcD3qZKWJQHSzynbDlrtP3IxVydZ2DZepCGofqfU=
-github.com/vektah/gqlparser v1.3.1/go.mod h1:bkVf0FX+Stjg/MHnm8mEyubuaArhNEqfQhF+OTiAL74=
+github.com/urfave/cli/v2 v2.3.0/go.mod h1:LJmUH05zAU44vOAcrfzZQKsZbVcdbOG8rtL3/XcUArI=
+github.com/vektah/gqlparser/v2 v2.2.0 h1:bAc3slekAAJW6sZTi07aGq0OrfaCjj4jxARAaC7g2EM=
+github.com/vektah/gqlparser/v2 v2.2.0/go.mod h1:i3mQIGIrbK2PD1RrCeMTlVbkF2FJ6WkU1KJlJlC+3F4=
 github.com/willf/bitset v1.1.10 h1:NotGKqX0KwQ72NUzqrjZq5ipPNDQex9lo3WpaS8L2sc=
 github.com/willf/bitset v1.1.10/go.mod h1:RjeCKbqT1RxIR/KWY6phxZiaY1IyutSBfGjNPySAYV4=
 github.com/xanzy/go-gitlab v0.54.3 h1:fPfZ3Jcu5dPc3xyIYtAALZsEgoyKNFNuULD+TdJ7Zvk=
@@ -827,7 +823,6 @@ golang.org/x/tools v0.0.0-20190312151545-0bb0c0a6e846/go.mod h1:LCzVGOaR6xXOjkQ3
 golang.org/x/tools v0.0.0-20190312170243-e65039ee4138/go.mod h1:LCzVGOaR6xXOjkQ3onu1FJEFr0SW1gC7cKk1uF8kGRs=
 golang.org/x/tools v0.0.0-20190425150028-36563e24a262/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
 golang.org/x/tools v0.0.0-20190506145303-2d16b83fe98c/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
-golang.org/x/tools v0.0.0-20190515012406-7d7faa4812bd/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
 golang.org/x/tools v0.0.0-20190524140312-2c0ae7006135/go.mod h1:RgjU9mgBXZiqYHBnxXauZ1Gv1EHHAz9KjViQ78xBX0Q=
 golang.org/x/tools v0.0.0-20190606124116-d0a3d012864b/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
 golang.org/x/tools v0.0.0-20190621195816-6e04913cbbac/go.mod h1:/rFqwRUd4F7ZHNgwSSTFct+R/Kf4OFW1sUzUTQQTgfc=
@@ -843,7 +838,6 @@ golang.org/x/tools v0.0.0-20191125144606-a911d9008d1f/go.mod h1:b+2E5dAYhXwXZwtn
 golang.org/x/tools v0.0.0-20191130070609-6e064ea0cf2d/go.mod h1:b+2E5dAYhXwXZwtnZ6UAqBI28+e2cm9otk0dWdXHAEo=
 golang.org/x/tools v0.0.0-20191216173652-a0e659d51361/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
 golang.org/x/tools v0.0.0-20191227053925-7b8e75db28f4/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
-golang.org/x/tools v0.0.0-20200114235610-7ae403b6b589/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
 golang.org/x/tools v0.0.0-20200117161641-43d50277825c/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
 golang.org/x/tools v0.0.0-20200122220014-bf1340f18c4a/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
 golang.org/x/tools v0.0.0-20200130002326-2f3ba24bd6e7/go.mod h1:TB2adYChydJhpapKDTa4BR/hXlZSLoq2Wpct/0txZ28=
@@ -862,6 +856,7 @@ golang.org/x/tools v0.0.0-20200618134242-20370b0cb4b2/go.mod h1:EkVYQZoAsY45+roY
 golang.org/x/tools v0.0.0-20200619180055-7c47624df98f/go.mod h1:EkVYQZoAsY45+roYkvgYkIh4xh/qjgUK9TdY2XT94GE=
 golang.org/x/tools v0.0.0-20200729194436-6467de6f59a7/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
 golang.org/x/tools v0.0.0-20200804011535-6c149bb5ef0d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
+golang.org/x/tools v0.0.0-20200815165600-90abf76919f3/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
 golang.org/x/tools v0.0.0-20200825202427-b303f430e36d/go.mod h1:njjCfa9FT2d7l9Bc6FUM5FLjQPp3cFF28FI3qnDFljA=
 golang.org/x/tools v0.0.0-20200904185747-39188db58858/go.mod h1:Cj7w3i3Rnn0Xh82ur9kSqwfTHTeVxaDqrfMjpcNT6bE=
 golang.org/x/tools v0.0.0-20201110124207-079ba7bd75cd/go.mod h1:emZCQorbCU4vsT4fOWvOPXz4eW1wZW4PmDk9uLelYpA=
@@ -1063,5 +1058,3 @@ honnef.co/go/tools v0.0.1-2020.1.4/go.mod h1:X/FiERA/W4tHapMX5mGpAtMSVEeEUOyHaw9
 rsc.io/binaryregexp v0.2.0/go.mod h1:qTv7/COck+e2FymRvadv62gMdZztPaShugOCi3I+8D8=
 rsc.io/quote/v3 v3.1.0/go.mod h1:yEA65RcK8LyAZtP9Kv3t0HmxON59tX3rD+tICJqUlj0=
 rsc.io/sampler v1.3.0/go.mod h1:T1hPZKmBbMNahiBKFy5HrXp6adAjACjK9JXDnKaTXpA=
-sourcegraph.com/sourcegraph/appdash v0.0.0-20180110180208-2cc67fd64755/go.mod h1:hI742Nqp5OhwiqlzhgfbWU4mW4yO10fP+LoT9WOswdU=
-sourcegraph.com/sourcegraph/appdash-data v0.0.0-20151005221446-73f23eafcf67/go.mod h1:L5q+DGLGOQFpo1snNEkLOJT2d1YTW66rWNzatr3He1k=

misc/bash_completion/git-bug 🔗

@@ -2,7 +2,7 @@
 
 __git-bug_debug()
 {
-    if [[ -n ${BASH_COMP_DEBUG_FILE} ]]; then
+    if [[ -n ${BASH_COMP_DEBUG_FILE:-} ]]; then
         echo "$*" >> "${BASH_COMP_DEBUG_FILE}"
     fi
 }
@@ -112,7 +112,7 @@ __git-bug_handle_go_custom_completion()
         $filteringCmd
     elif [ $((directive & shellCompDirectiveFilterDirs)) -ne 0 ]; then
         # File completion for directories only
-        local subDir
+        local subdir
         # Use printf to strip any trailing newline
         subdir=$(printf "%s" "${out[0]}")
         if [ -n "$subdir" ]; then
@@ -165,13 +165,19 @@ __git-bug_handle_reply()
                     PREFIX=""
                     cur="${cur#*=}"
                     ${flags_completion[${index}]}
-                    if [ -n "${ZSH_VERSION}" ]; then
+                    if [ -n "${ZSH_VERSION:-}" ]; then
                         # zsh completion needs --flag= prefix
                         eval "COMPREPLY=( \"\${COMPREPLY[@]/#/${flag}=}\" )"
                     fi
                 fi
             fi
-            return 0;
+
+            if [[ -z "${flag_parsing_disabled}" ]]; then
+                # If flag parsing is enabled, we have completed the flags and can return.
+                # If flag parsing is disabled, we may not know all (or any) of the flags, so we fallthrough
+                # to possibly call handle_go_custom_completion.
+                return 0;
+            fi
             ;;
     esac
 
@@ -210,13 +216,13 @@ __git-bug_handle_reply()
     fi
 
     if [[ ${#COMPREPLY[@]} -eq 0 ]]; then
-		if declare -F __git-bug_custom_func >/dev/null; then
-			# try command name qualified custom func
-			__git-bug_custom_func
-		else
-			# otherwise fall back to unqualified for compatibility
-			declare -F __custom_func >/dev/null && __custom_func
-		fi
+        if declare -F __git-bug_custom_func >/dev/null; then
+            # try command name qualified custom func
+            __git-bug_custom_func
+        else
+            # otherwise fall back to unqualified for compatibility
+            declare -F __custom_func >/dev/null && __custom_func
+        fi
     fi
 
     # available in bash-completion >= 2, not always present on macOS
@@ -250,7 +256,7 @@ __git-bug_handle_flag()
 
     # if a command required a flag, and we found it, unset must_have_one_flag()
     local flagname=${words[c]}
-    local flagvalue
+    local flagvalue=""
     # if the word contained an =
     if [[ ${words[c]} == *"="* ]]; then
         flagvalue=${flagname#*=} # take in as flagvalue after the =
@@ -269,7 +275,7 @@ __git-bug_handle_flag()
 
     # keep flag value with flagname as flaghash
     # flaghash variable is an associative array which is only supported in bash > 3.
-    if [[ -z "${BASH_VERSION}" || "${BASH_VERSINFO[0]}" -gt 3 ]]; then
+    if [[ -z "${BASH_VERSION:-}" || "${BASH_VERSINFO[0]:-}" -gt 3 ]]; then
         if [ -n "${flagvalue}" ] ; then
             flaghash[${flagname}]=${flagvalue}
         elif [ -n "${words[ $((c+1)) ]}" ] ; then
@@ -281,7 +287,7 @@ __git-bug_handle_flag()
 
     # skip the argument to a two word flag
     if [[ ${words[c]} != *"="* ]] && __git-bug_contains_word "${words[c]}" "${two_word_flags[@]}"; then
-			  __git-bug_debug "${FUNCNAME[0]}: found a flag ${words[c]}, skip the next argument"
+        __git-bug_debug "${FUNCNAME[0]}: found a flag ${words[c]}, skip the next argument"
         c=$((c+1))
         # if we are looking for a flags value, don't show commands
         if [[ $c -eq $cword ]]; then
@@ -341,7 +347,7 @@ __git-bug_handle_word()
         __git-bug_handle_command
     elif __git-bug_contains_word "${words[c]}" "${command_aliases[@]}"; then
         # aliashash variable is an associative array which is only supported in bash > 3.
-        if [[ -z "${BASH_VERSION}" || "${BASH_VERSINFO[0]}" -gt 3 ]]; then
+        if [[ -z "${BASH_VERSION:-}" || "${BASH_VERSINFO[0]:-}" -gt 3 ]]; then
             words[c]=${aliashash[${words[c]}]}
             __git-bug_handle_command
         else
@@ -1445,7 +1451,7 @@ _git-bug_root_command()
     commands+=("show")
     commands+=("status")
     commands+=("termui")
-    if [[ -z "${BASH_VERSION}" || "${BASH_VERSINFO[0]}" -gt 3 ]]; then
+    if [[ -z "${BASH_VERSION:-}" || "${BASH_VERSINFO[0]:-}" -gt 3 ]]; then
         command_aliases+=("tui")
         aliashash["tui"]="termui"
     fi
@@ -1468,7 +1474,7 @@ _git-bug_root_command()
 
 __start_git-bug()
 {
-    local cur prev words cword
+    local cur prev words cword split
     declare -A flaghash 2>/dev/null || :
     declare -A aliashash 2>/dev/null || :
     if declare -F _init_completion >/dev/null 2>&1; then
@@ -1478,17 +1484,20 @@ __start_git-bug()
     fi
 
     local c=0
+    local flag_parsing_disabled=
     local flags=()
     local two_word_flags=()
     local local_nonpersistent_flags=()
     local flags_with_completion=()
     local flags_completion=()
     local commands=("git-bug")
+    local command_aliases=()
     local must_have_one_flag=()
     local must_have_one_noun=()
-    local has_completion_function
-    local last_command
+    local has_completion_function=""
+    local last_command=""
     local nouns=()
+    local noun_aliases=()
 
     __git-bug_handle_word
 }

misc/fish_completion/git-bug 🔗

@@ -1,44 +1,47 @@
 # fish completion for git-bug                              -*- shell-script -*-
 
 function __git_bug_debug
-    set file "$BASH_COMP_DEBUG_FILE"
+    set -l file "$BASH_COMP_DEBUG_FILE"
     if test -n "$file"
         echo "$argv" >> $file
     end
 end
 
 function __git_bug_perform_completion
-    __git_bug_debug "Starting __git_bug_perform_completion with: $argv"
+    __git_bug_debug "Starting __git_bug_perform_completion"
 
-    set args (string split -- " " "$argv")
-    set lastArg "$args[-1]"
+    # Extract all args except the last one
+    set -l args (commandline -opc)
+    # Extract the last arg and escape it in case it is a space
+    set -l lastArg (string escape -- (commandline -ct))
 
     __git_bug_debug "args: $args"
     __git_bug_debug "last arg: $lastArg"
 
-    set emptyArg ""
-    if test -z "$lastArg"
-        __git_bug_debug "Setting emptyArg"
-        set emptyArg \"\"
-    end
-    __git_bug_debug "emptyArg: $emptyArg"
-
-    if not type -q "$args[1]"
-        # This can happen when "complete --do-complete git-bug" is called when running this script.
-        __git_bug_debug "Cannot find $args[1]. No completions."
-        return
-    end
+    set -l requestComp "$args[1] __complete $args[2..-1] $lastArg"
 
-    set requestComp "$args[1] __complete $args[2..-1] $emptyArg"
     __git_bug_debug "Calling $requestComp"
+    set -l results (eval $requestComp 2> /dev/null)
+
+    # Some programs may output extra empty lines after the directive.
+    # Let's ignore them or else it will break completion.
+    # Ref: https://github.com/spf13/cobra/issues/1279
+    for line in $results[-1..1]
+        if test (string trim -- $line) = ""
+            # Found an empty line, remove it
+            set results $results[1..-2]
+        else
+            # Found non-empty line, we have our proper output
+            break
+        end
+    end
 
-    set results (eval $requestComp 2> /dev/null)
-    set comps $results[1..-2]
-    set directiveLine $results[-1]
+    set -l comps $results[1..-2]
+    set -l directiveLine $results[-1]
 
     # For Fish, when completing a flag with an = (e.g., <program> -n=<TAB>)
     # completions must be prefixed with the flag
-    set flagPrefix (string match -r -- '-.*=' "$lastArg")
+    set -l flagPrefix (string match -r -- '-.*=' "$lastArg")
 
     __git_bug_debug "Comps: $comps"
     __git_bug_debug "DirectiveLine: $directiveLine"
@@ -51,114 +54,123 @@ function __git_bug_perform_completion
     printf "%s\n" "$directiveLine"
 end
 
-# This function does three things:
-# 1- Obtain the completions and store them in the global __git_bug_comp_results
-# 2- Set the __git_bug_comp_do_file_comp flag if file completion should be performed
-#    and unset it otherwise
-# 3- Return true if the completion results are not empty
+# This function does two things:
+# - Obtain the completions and store them in the global __git_bug_comp_results
+# - Return false if file completion should be performed
 function __git_bug_prepare_completions
+    __git_bug_debug ""
+    __git_bug_debug "========= starting completion logic =========="
+
     # Start fresh
-    set --erase __git_bug_comp_do_file_comp
     set --erase __git_bug_comp_results
 
-    # Check if the command-line is already provided.  This is useful for testing.
-    if not set --query __git_bug_comp_commandLine
-        # Use the -c flag to allow for completion in the middle of the line
-        set __git_bug_comp_commandLine (commandline -c)
-    end
-    __git_bug_debug "commandLine is: $__git_bug_comp_commandLine"
-
-    set results (__git_bug_perform_completion "$__git_bug_comp_commandLine")
-    set --erase __git_bug_comp_commandLine
+    set -l results (__git_bug_perform_completion)
     __git_bug_debug "Completion results: $results"
 
     if test -z "$results"
         __git_bug_debug "No completion, probably due to a failure"
         # Might as well do file completion, in case it helps
-        set --global __git_bug_comp_do_file_comp 1
         return 1
     end
 
-    set directive (string sub --start 2 $results[-1])
+    set -l directive (string sub --start 2 $results[-1])
     set --global __git_bug_comp_results $results[1..-2]
 
     __git_bug_debug "Completions are: $__git_bug_comp_results"
     __git_bug_debug "Directive is: $directive"
 
-    set shellCompDirectiveError 1
-    set shellCompDirectiveNoSpace 2
-    set shellCompDirectiveNoFileComp 4
-    set shellCompDirectiveFilterFileExt 8
-    set shellCompDirectiveFilterDirs 16
+    set -l shellCompDirectiveError 1
+    set -l shellCompDirectiveNoSpace 2
+    set -l shellCompDirectiveNoFileComp 4
+    set -l shellCompDirectiveFilterFileExt 8
+    set -l shellCompDirectiveFilterDirs 16
 
     if test -z "$directive"
         set directive 0
     end
 
-    set compErr (math (math --scale 0 $directive / $shellCompDirectiveError) % 2)
+    set -l compErr (math (math --scale 0 $directive / $shellCompDirectiveError) % 2)
     if test $compErr -eq 1
         __git_bug_debug "Received error directive: aborting."
         # Might as well do file completion, in case it helps
-        set --global __git_bug_comp_do_file_comp 1
         return 1
     end
 
-    set filefilter (math (math --scale 0 $directive / $shellCompDirectiveFilterFileExt) % 2)
-    set dirfilter (math (math --scale 0 $directive / $shellCompDirectiveFilterDirs) % 2)
+    set -l filefilter (math (math --scale 0 $directive / $shellCompDirectiveFilterFileExt) % 2)
+    set -l dirfilter (math (math --scale 0 $directive / $shellCompDirectiveFilterDirs) % 2)
     if test $filefilter -eq 1; or test $dirfilter -eq 1
         __git_bug_debug "File extension filtering or directory filtering not supported"
         # Do full file completion instead
-        set --global __git_bug_comp_do_file_comp 1
         return 1
     end
 
-    set nospace (math (math --scale 0 $directive / $shellCompDirectiveNoSpace) % 2)
-    set nofiles (math (math --scale 0 $directive / $shellCompDirectiveNoFileComp) % 2)
+    set -l nospace (math (math --scale 0 $directive / $shellCompDirectiveNoSpace) % 2)
+    set -l nofiles (math (math --scale 0 $directive / $shellCompDirectiveNoFileComp) % 2)
 
     __git_bug_debug "nospace: $nospace, nofiles: $nofiles"
 
-    # Important not to quote the variable for count to work
-    set numComps (count $__git_bug_comp_results)
-    __git_bug_debug "numComps: $numComps"
-
-    if test $numComps -eq 1; and test $nospace -ne 0
-        # To support the "nospace" directive we trick the shell
-        # by outputting an extra, longer completion.
-        __git_bug_debug "Adding second completion to perform nospace directive"
-        set --append __git_bug_comp_results $__git_bug_comp_results[1].
-    end
-
-    if test $numComps -eq 0; and test $nofiles -eq 0
-        __git_bug_debug "Requesting file completion"
-        set --global __git_bug_comp_do_file_comp 1
+    # If we want to prevent a space, or if file completion is NOT disabled,
+    # we need to count the number of valid completions.
+    # To do so, we will filter on prefix as the completions we have received
+    # may not already be filtered so as to allow fish to match on different
+    # criteria than the prefix.
+    if test $nospace -ne 0; or test $nofiles -eq 0
+        set -l prefix (commandline -t | string escape --style=regex)
+        __git_bug_debug "prefix: $prefix"
+
+        set -l completions (string match -r -- "^$prefix.*" $__git_bug_comp_results)
+        set --global __git_bug_comp_results $completions
+        __git_bug_debug "Filtered completions are: $__git_bug_comp_results"
+
+        # Important not to quote the variable for count to work
+        set -l numComps (count $__git_bug_comp_results)
+        __git_bug_debug "numComps: $numComps"
+
+        if test $numComps -eq 1; and test $nospace -ne 0
+            # We must first split on \t to get rid of the descriptions to be
+            # able to check what the actual completion will be.
+            # We don't need descriptions anyway since there is only a single
+            # real completion which the shell will expand immediately.
+            set -l split (string split --max 1 \t $__git_bug_comp_results[1])
+
+            # Fish won't add a space if the completion ends with any
+            # of the following characters: @=/:.,
+            set -l lastChar (string sub -s -1 -- $split)
+            if not string match -r -q "[@=/:.,]" -- "$lastChar"
+                # In other cases, to support the "nospace" directive we trick the shell
+                # by outputting an extra, longer completion.
+                __git_bug_debug "Adding second completion to perform nospace directive"
+                set --global __git_bug_comp_results $split[1] $split[1].
+                __git_bug_debug "Completions are now: $__git_bug_comp_results"
+            end
+        end
+
+        if test $numComps -eq 0; and test $nofiles -eq 0
+            # To be consistent with bash and zsh, we only trigger file
+            # completion when there are no other completions
+            __git_bug_debug "Requesting file completion"
+            return 1
+        end
     end
 
-    # If we don't want file completion, we must return true even if there
-    # are no completions found.  This is because fish will perform the last
-    # completion command, even if its condition is false, if no other
-    # completion command was triggered
-    return (not set --query __git_bug_comp_do_file_comp)
+    return 0
 end
 
 # Since Fish completions are only loaded once the user triggers them, we trigger them ourselves
 # so we can properly delete any completions provided by another script.
-# The space after the the program name is essential to trigger completion for the program
-# and not completion of the program name itself.
-complete --do-complete "git-bug " > /dev/null 2>&1
-# Using '> /dev/null 2>&1' since '&>' is not supported in older versions of fish.
+# Only do this if the program can be found, or else fish may print some errors; besides,
+# the existing completions will only be loaded if the program can be found.
+if type -q "git-bug"
+    # The space after the program name is essential to trigger completion for the program
+    # and not completion of the program name itself.
+    # Also, we use '> /dev/null 2>&1' since '&>' is not supported in older versions of fish.
+    complete --do-complete "git-bug " > /dev/null 2>&1
+end
 
 # Remove any pre-existing completions for the program since we will be handling all of them.
 complete -c git-bug -e
 
-# The order in which the below two lines are defined is very important so that __git_bug_prepare_completions
-# is called first.  It is __git_bug_prepare_completions that sets up the __git_bug_comp_do_file_comp variable.
-#
-# This completion will be run second as complete commands are added FILO.
-# It triggers file completion choices when __git_bug_comp_do_file_comp is set.
-complete -c git-bug -n 'set --query __git_bug_comp_do_file_comp'
-
-# This completion will be run first as complete commands are added FILO.
-# The call to __git_bug_prepare_completions will setup both __git_bug_comp_results and __git_bug_comp_do_file_comp.
-# It provides the program's completion choices.
+# The call to __git_bug_prepare_completions will setup __git_bug_comp_results
+# which provides the program's completion choices.
 complete -c git-bug -n '__git_bug_prepare_completions' -f -a '$__git_bug_comp_results'
 

misc/powershell_completion/git-bug 🔗

@@ -33,7 +33,7 @@ Register-ArgumentCompleter -CommandName 'git-bug' -ScriptBlock {
     if ($Command.Length -gt $CursorPosition) {
         $Command=$Command.Substring(0,$CursorPosition)
     }
-	__git-bug_debug "Truncated command: $Command"
+    __git-bug_debug "Truncated command: $Command"
 
     $ShellCompDirectiveError=1
     $ShellCompDirectiveNoSpace=2
@@ -41,7 +41,7 @@ Register-ArgumentCompleter -CommandName 'git-bug' -ScriptBlock {
     $ShellCompDirectiveFilterFileExt=8
     $ShellCompDirectiveFilterDirs=16
 
-	# Prepare the command to request completions for the program.
+    # Prepare the command to request completions for the program.
     # Split the command at the first space to separate the program and arguments.
     $Program,$Arguments = $Command.Split(" ",2)
     $RequestComp="$Program __completeNoDesc $Arguments"
@@ -69,7 +69,7 @@ Register-ArgumentCompleter -CommandName 'git-bug' -ScriptBlock {
         # We add an extra empty parameter so we can indicate this to the go method.
         __git-bug_debug "Adding extra empty parameter"
         # We need to use `"`" to pass an empty argument a "" or '' does not work!!!
-        $RequestComp="$RequestComp" + ' `"`"' 
+        $RequestComp="$RequestComp" + ' `"`"'
     }
 
     __git-bug_debug "Calling $RequestComp"
@@ -123,19 +123,6 @@ Register-ArgumentCompleter -CommandName 'git-bug' -ScriptBlock {
         $Space = ""
     }
 
-    if (($Directive -band $ShellCompDirectiveNoFileComp) -ne 0 ) {
-        __git-bug_debug "ShellCompDirectiveNoFileComp is called"
-
-        if ($Values.Length -eq 0) {
-            # Just print an empty string here so the
-            # shell does not start to complete paths.
-            # We cannot use CompletionResult here because
-            # it does not accept an empty string as argument.
-            ""
-            return
-        }
-    }
-
     if ((($Directive -band $ShellCompDirectiveFilterFileExt) -ne 0 ) -or
        (($Directive -band $ShellCompDirectiveFilterDirs) -ne 0 ))  {
         __git-bug_debug "ShellCompDirectiveFilterFileExt ShellCompDirectiveFilterDirs are not supported"
@@ -148,20 +135,33 @@ Register-ArgumentCompleter -CommandName 'git-bug' -ScriptBlock {
         # filter the result
         $_.Name -like "$WordToComplete*"
 
-        # Join the flag back if we have a equal sign flag
+        # Join the flag back if we have an equal sign flag
         if ( $IsEqualFlag ) {
             __git-bug_debug "Join the equal sign flag back to the completion value"
             $_.Name = $Flag + "=" + $_.Name
         }
     }
 
+    if (($Directive -band $ShellCompDirectiveNoFileComp) -ne 0 ) {
+        __git-bug_debug "ShellCompDirectiveNoFileComp is called"
+
+        if ($Values.Length -eq 0) {
+            # Just print an empty string here so the
+            # shell does not start to complete paths.
+            # We cannot use CompletionResult here because
+            # it does not accept an empty string as argument.
+            ""
+            return
+        }
+    }
+
     # Get the current mode
     $Mode = (Get-PSReadLineKeyHandler | Where-Object {$_.Key -eq "Tab" }).Function
     __git-bug_debug "Mode: $Mode"
 
     $Values | ForEach-Object {
 
-        # store temporay because switch will overwrite $_
+        # store temporary because switch will overwrite $_
         $comp = $_
 
         # PowerShell supports three different completion modes
@@ -216,7 +216,7 @@ Register-ArgumentCompleter -CommandName 'git-bug' -ScriptBlock {
             Default {
                 # Like MenuComplete but we don't want to add a space here because
                 # the user need to press space anyway to get the completion.
-                # Description will not be shown because thats not possible with TabCompleteNext
+                # Description will not be shown because that's not possible with TabCompleteNext
                 [System.Management.Automation.CompletionResult]::new($($comp.Name | __git-bug_escapeStringWithSpecialChars), "$($comp.Name)", 'ParameterValue', "$($comp.Description)")
             }
         }

misc/zsh_completion/git-bug 🔗

@@ -18,7 +18,7 @@ _git-bug()
     local shellCompDirectiveFilterFileExt=8
     local shellCompDirectiveFilterDirs=16
 
-    local lastParam lastChar flagPrefix requestComp out directive compCount comp lastComp
+    local lastParam lastChar flagPrefix requestComp out directive comp lastComp noSpace
     local -a completions
 
     __git-bug_debug "\n========= starting completion logic =========="
@@ -86,7 +86,6 @@ _git-bug()
         return
     fi
 
-    compCount=0
     while IFS='\n' read -r comp; do
         if [ -n "$comp" ]; then
             # If requested, completions are returned with a description.
@@ -98,13 +97,17 @@ _git-bug()
             local tab=$(printf '\t')
             comp=${comp//$tab/:}
 
-            ((compCount++))
             __git-bug_debug "Adding completion: ${comp}"
             completions+=${comp}
             lastComp=$comp
         fi
     done < <(printf "%s\n" "${out[@]}")
 
+    if [ $((directive & shellCompDirectiveNoSpace)) -ne 0 ]; then
+        __git-bug_debug "Activating nospace."
+        noSpace="-S ''"
+    fi
+
     if [ $((directive & shellCompDirectiveFilterFileExt)) -ne 0 ]; then
         # File extension filtering
         local filteringCmd
@@ -122,7 +125,7 @@ _git-bug()
         _arguments '*:filename:'"$filteringCmd"
     elif [ $((directive & shellCompDirectiveFilterDirs)) -ne 0 ]; then
         # File completion for directories only
-        local subDir
+        local subdir
         subdir="${completions[1]}"
         if [ -n "$subdir" ]; then
             __git-bug_debug "Listing directories in $subdir"
@@ -131,29 +134,44 @@ _git-bug()
             __git-bug_debug "Listing directories in ."
         fi
 
+        local result
         _arguments '*:dirname:_files -/'" ${flagPrefix}"
+        result=$?
         if [ -n "$subdir" ]; then
             popd >/dev/null 2>&1
         fi
-    elif [ $((directive & shellCompDirectiveNoSpace)) -ne 0 ] && [ ${compCount} -eq 1 ]; then
-        __git-bug_debug "Activating nospace."
-        # We can use compadd here as there is no description when
-        # there is only one completion.
-        compadd -S '' "${lastComp}"
-    elif [ ${compCount} -eq 0 ]; then
-        if [ $((directive & shellCompDirectiveNoFileComp)) -ne 0 ]; then
-            __git-bug_debug "deactivating file completion"
+        return $result
+    else
+        __git-bug_debug "Calling _describe"
+        if eval _describe "completions" completions $flagPrefix $noSpace; then
+            __git-bug_debug "_describe found some completions"
+
+            # Return the success of having called _describe
+            return 0
         else
-            # Perform file completion
-            __git-bug_debug "activating file completion"
-            _arguments '*:filename:_files'" ${flagPrefix}"
+            __git-bug_debug "_describe did not find completions."
+            __git-bug_debug "Checking if we should do file completion."
+            if [ $((directive & shellCompDirectiveNoFileComp)) -ne 0 ]; then
+                __git-bug_debug "deactivating file completion"
+
+                # We must return an error code here to let zsh know that there were no
+                # completions found by _describe; this is what will trigger other
+                # matching algorithms to attempt to find completions.
+                # For example zsh can match letters in the middle of words.
+                return 1
+            else
+                # Perform file completion
+                __git-bug_debug "Activating file completion"
+
+                # We must return the result of this command, so it must be the
+                # last command, or else we must store its result to return it.
+                _arguments '*:filename:_files'" ${flagPrefix}"
+            fi
         fi
-    else
-        _describe "completions" completions $(echo $flagPrefix)
     fi
 }
 
 # don't run the completion function when being source-ed or eval-ed
 if [ "$funcstack[1]" = "_git-bug" ]; then
-	_git-bug
+    _git-bug
 fi