Add bin and edit workflow
Gitea Actions Demo / Explore-Gitea-Actions (push) Failing after 9s

This commit is contained in:
2026-09-16 13:11:16 -06:00
parent c8ac4fcae5
commit 4cee170d66
17576 changed files with 895740 additions and 2 deletions
+20
View File
@@ -0,0 +1,20 @@
#!/usr/bin/env ruby
# frozen_string_literal: true
$LOAD_PATH.unshift File.join(__dir__, "..", "lib")
require "mercenary"
# This example sets the logging mode of mercenary to
# debug. Logging messages from "p.logger.debug" will
# be output to STDOUT.
Mercenary.program(:trace) do |p|
p.version "2.0.1"
p.description "An example of traces in Mercenary"
p.syntax "trace <subcommand>"
p.action do |_, _|
raise ArgumentError, "YOU DID SOMETHING TERRIBLE YOU BUFFOON"
end
end