Sha256: 3e041a9e610e470c893704cee872b48b09fa69f93e465592bf966a5d895e22b6
Contents?: true
Size: 523 Bytes
Versions: 7
Compression:
Stored size: 523 Bytes
Contents
class TechcorCli desc "Describes current state of the project" long_desc "Displays current metrics of the project, date and author of last modification" arg_name '{project_name}' command :describe do |command| command.arg_name 'date format' command.desc 'ruby date format to display time of change' command.default_value "%d-%m-%Y" command.flag :df, :date_format command.action do |global, options, args| puts DescribeProject.new(args.first, options[:date_format]).call end end end
Version data entries
7 entries across 7 versions & 1 rubygems