Sha256: 849916e91f24c73300a8273c96a7cb17ddad8a51ae6b177b46f1c5740ff12b1a

Contents?: true

Size: 303 Bytes

Versions: 2

Compression:

Stored size: 303 Bytes

Contents

#!/usr/bin/env ruby
# frozen_string_literal: true

require "bundler/setup"
require "mona"
require "thor"

class MonaCli < Thor
  desc "mona cd PACKAGE", "go to PACKAGE"
  def cd(package)
    puts "cd #{Mona.packages(File.expand_path(".")).find(package.to_sym).root_path}"
  end
end

MonaCli.start(ARGV)

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
mona-0.2.3 exe/mona
mona-0.2.2 exe/mona