Sha256: 986be5f1c3d23b1290f6c05a7e9970a7cae3d9bc488d8520520f752e6343965f
Contents?: true
Size: 555 Bytes
Versions: 1
Compression:
Stored size: 555 Bytes
Contents
#!/usr/bin/env ruby require_relative '../lib/coconductor' require 'thor' class CoconductorCLI < Thor package_name 'Coconductor' default_task :detect private def path args.first || Dir.pwd end def project @project ||= Coconductor.project(path) end def code_of_conduct project.code_of_conduct end def code_of_conduct_file project.code_of_conduct_file end end commands_dir = File.expand_path '../lib/coconductor/commands/', __dir__ Dir["#{commands_dir}/*.rb"].each { |c| require(c) } CoconductorCLI.start(ARGV)
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
coconductor-0.2.0 | bin/coconductor |