Skip to content

Commit

Permalink
📝 Better information for command
Browse files Browse the repository at this point in the history
  • Loading branch information
technocidal committed Jul 12, 2024
1 parent 1628c66 commit 45c2aaa
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion Sources/Changelog.swift
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,11 @@ import ArgumentParser

@main
struct Changelog: ParsableCommand {
static let configuration = CommandConfiguration(
abstract: "Get items from a Changelog.md file for a specific release or that are unreleased.",
version: "1.0.0"
)

enum Release: ExpressibleByArgument, CustomStringConvertible {
case unreleased
case release(String)
Expand All @@ -30,7 +35,7 @@ struct Changelog: ParsableCommand {
}
}
}

@Argument(help: "Path to Changelog.md file")
var path: String

Expand Down

0 comments on commit 45c2aaa

Please sign in to comment.