struct GitRewriteAuthor::CLI::Flags
- GitRewriteAuthor::CLI::Flags
- Struct
- Value
- Object
Overview
Extend the flags struct to include the flag
Defined in:
cli.cr:6cli.cr:15
cli.cr:19
cli.cr:24
cli.cr:29
Constant Summary
-
DESCRIPTIONS =
{} of String => String
-
SPECS =
{"__version__" => {kind: "bool", type: "Bool", default: "false", description: {"--version", "Displays the version of the current application."}, short: "nil", long: "version", is_required: true}, "__help__" => {kind: "bool", type: "Bool", default: "false", description: {"--help", "Displays help for the current command."}, short: "nil", long: "help", is_required: true}, "committer" => {kind: "bool", type: "Bool", default: "true", description: {"--committer", "Rewrites committer authorship data."}, short: "nil", long: "committer", is_required: true}, "branches" => {kind: "bool", type: "Bool", default: "false", description: {"--branches, -b", "Rewrites commits in all branches."}, short: "b", long: "branches", is_required: true}, "tags" => {kind: "bool", type: "Bool", default: "false", description: {"--tags, -t", "Rewrites commits in all tags."}, short: "t", long: "tags", is_required: true}, "color" => {kind: "bool", type: "Bool", default: "true", description: {"--color", "Enables colors."}, short: "nil", long: "color", is_required: true}, "old_name" => {kind: "nil", type: "String", default: "nil", description: {"--old-name", "Old author name."}, short: "nil", long: "old-name", is_required: false}, "new_name" => {kind: "nil", type: "String", default: "nil", description: {"--new-name", "New author name."}, short: "nil", long: "new-name", is_required: false}, "old_email" => {kind: "nil", type: "String", default: "nil", description: {"--old-email", "Old author email."}, short: "nil", long: "old-email", is_required: false}, "new_email" => {kind: "nil", type: "String", default: "nil", description: {"--new-email", "New author email."}, short: "nil", long: "new-email", is_required: false}} of String => NamedTuple(kind: String, type: String, default: String, description: Tuple(String, String | ::Nil), short: String | ::Nil, long: String, is_required: Bool)
Constructors
Instance Method Summary
- #__help__
- #__version__
- #branches
- #color
- #committer
- #inspect(io)
- #new_email : String?
- #new_name : String?
- #old_email : String?
- #old_name : String?
- #tags
- #validate!(command)