Sha256: 3395e1b1004a4773e8e4a895b8162538b73d8669c283fc26687958f99d650fb7
Contents?: true
Size: 504 Bytes
Versions: 12
Compression:
Stored size: 504 Bytes
Contents
# frozen_string_literal: true desc "Get help for the command line interface" argument :command, "The command to get help for" task :help, [:command] do |_, args| # FIXME: Without this condition the command runs infinitely. The reason isn't # obvious and needs to be revisited at some point in the future. # unless defined?($helping) && $helping $helping = true if args.key?(:command) Pakyow::CLI.new([args[:command], "-h"]) else Pakyow::CLI.new(["-h"]) end end end
Version data entries
12 entries across 12 versions & 1 rubygems