Skip to content

Commit

Permalink
Updates long descriptions in command struct tags
Browse files Browse the repository at this point in the history
  • Loading branch information
matzefriedrich committed Nov 27, 2024
1 parent 26c869e commit d4435c2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion internal/commands/generate_mocks_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ import (
)

type mocksGeneratorCommand struct {
use types.CommandName `flag:"mocks" short:"Generate configurable mocks for interface types." long:"The command generates fully configurable mock implementations for Go interface types. It simplifies the process of creating mocks by analyzing the source code and automatically generating mock structs that adhere to the defined interfaces."`
use types.CommandName `flag:"mocks" short:"Generate configurable mocks for interface types." long:"Generates fully configurable mock implementations for Go interface types. It simplifies the process of creating mocks by analyzing the source code and automatically generating mock structs that adhere to the defined interfaces."`
fileAccessor reflection.AstFileAccessor
outputWriterFactory generator.OutputWriterFactory
}
Expand Down
2 changes: 1 addition & 1 deletion internal/commands/generate_proxy_command.go
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ import (
)

type generateProxyCommand struct {
use types.CommandName `flag:"proxy" short:"Generate generic proxy types for method call interception." long:"The command generates generic proxy types designed for method call interception on Go interfaces. These proxies act as intermediaries, allowing you to inject custom behavior—such as logging, validation, or transformation—before or after method execution."`
use types.CommandName `flag:"proxy" short:"Generate generic proxy types for method call interception." long:"Generates generic proxy types designed for method call interception on Go interfaces. These proxies act as intermediaries, allowing you to inject custom behavior—such as logging, validation, or transformation—before or after method execution."`
fileAccessor reflection.AstFileAccessor
outputWriterFactory generator.OutputWriterFactory
}
Expand Down

0 comments on commit d4435c2

Please sign in to comment.