Skip to content

Commit

Permalink
Add command to print version
Browse files Browse the repository at this point in the history
  • Loading branch information
Intrepidd committed Aug 28, 2024
1 parent 9c16883 commit 17946a0
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions exe/yamlfish
Original file line number Diff line number Diff line change
Expand Up @@ -18,6 +18,11 @@ class YamlfishExe < Thor
def pull(locale)
Yamlfish::Cli::Pull.new(locale, inplace: options[:inplace], force_update: options[:force_update], branch: options[:branch]).call
end

desc "version", "Prints the version"
def version
puts Yamlfish::Cli::VERSION
end
end

YamlfishExe.start(ARGV)

0 comments on commit 17946a0

Please sign in to comment.