Skip to content

Commit

Permalink
Merge pull request #178 from nicolasbock/version
Browse files Browse the repository at this point in the history
Add version information
  • Loading branch information
nicolasbock authored Sep 9, 2024
2 parents 6132d5d + 03e4cb7 commit d83537b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cmd/salesforce-test/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ var configs = common.StringList(
kingpin.Flag("config", "Path to the athena configuration file").Default("/etc/athena/main.yaml").Short('c'),
)

var commit string
var allCases = kingpin.Flag("all-cases", "Get all cases").Default("false").Bool()
var allFeedComments = kingpin.Flag("all-feed-comments", "Get all FeedComments").Default("false").Bool()
var allFeedItems = kingpin.Flag("all-feed-items", "Get all FeedItems").Default("false").Bool()
Expand All @@ -24,6 +25,8 @@ var getComments = kingpin.Flag("comments", "Get all comments of case").Default("
var newChatter = kingpin.Flag("new-chatter", "Add a new chatter comment to the case").Default("").String()

func main() {
log.Printf("Starting version %s", commit)

kingpin.HelpFlag.Short('h')
kingpin.Parse()

Expand Down

0 comments on commit d83537b

Please sign in to comment.