class Hiiro::Runners::Bin

def exact_match?(subcmd)

def exact_match?(subcmd)
  subcommand_name == subcmd.to_s
end

def initialize(bin_name, path)

def initialize(bin_name, path)
  @bin_name = bin_name
  @path = path
  @name = File.basename(path)
end

def location

def location
  path
end

def match?(subcmd)

def match?(subcmd)
  subcommand_name.start_with?(subcmd.to_s)
end

def params_string

def params_string
  nil
end

def run(*args)

def run(*args)
  system(path, *args)
end

def subcommand_name

def subcommand_name
  name.sub("#{bin_name}-", '')
end

def type

def type
  :bin
end

def values

def values
  {}
end