File: basic_root.rb

package info (click to toggle)
ruby-cri 2.15.12-2
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 384 kB
  • sloc: ruby: 2,776; makefile: 11
file content (8 lines) | stat: -rw-r--r-- 199 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
# frozen_string_literal: true

flag :h, :help, 'show help for this command' do |_value, cmd|
  puts cmd.help
  raise CriExitException.new(is_error: false)
end

subcommand Cri::Command.new_basic_help