feat: Renames some options, adds a require-configuration option that fails if configuration is not found.
All checks were successful
CI / Ubuntu (push) Successful in 2m19s
All checks were successful
CI / Ubuntu (push) Successful in 2m19s
This commit is contained in:
@@ -18,7 +18,7 @@ struct BumpCommand: CommandRepresentable {
|
||||
),
|
||||
makeExample(
|
||||
label: "Dry run, just show what the bumped version would be.",
|
||||
example: "--minor --dry-run"
|
||||
example: "--minor --print"
|
||||
)
|
||||
])
|
||||
)
|
||||
|
||||
@@ -149,8 +149,6 @@ extension ConfigCommand {
|
||||
}
|
||||
}
|
||||
|
||||
// TODO: Add verbose.
|
||||
// TODO: Need to be able to generate a branch style config file.
|
||||
@dynamicMemberLookup
|
||||
struct ConfigCommandOptions: ParsableArguments {
|
||||
|
||||
@@ -210,12 +208,6 @@ private extension ConfigCommand.ConfigCommandOptions {
|
||||
case .swift:
|
||||
customDump(configuration)
|
||||
}
|
||||
|
||||
// guard printJson else {
|
||||
// customDump(configuration)
|
||||
// return
|
||||
// }
|
||||
// try handlePrintJson(configuration)
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user