Skip to content

Commit 45c2aaa

Browse files
author
Johannes Ebeling
committed
📝 Better information for command
1 parent 1628c66 commit 45c2aaa

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

Sources/Changelog.swift

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,11 @@ import ArgumentParser
44

55
@main
66
struct Changelog: ParsableCommand {
7+
static let configuration = CommandConfiguration(
8+
abstract: "Get items from a Changelog.md file for a specific release or that are unreleased.",
9+
version: "1.0.0"
10+
)
11+
712
enum Release: ExpressibleByArgument, CustomStringConvertible {
813
case unreleased
914
case release(String)
@@ -30,7 +35,7 @@ struct Changelog: ParsableCommand {
3035
}
3136
}
3237
}
33-
38+
3439
@Argument(help: "Path to Changelog.md file")
3540
var path: String
3641

0 commit comments

Comments
 (0)