Sha256: 0dd503c3866dcd3d54dd54896a80d1431b1f83d9ea4df05698e80a4c983e8bb8

Contents?: true

Size: 242 Bytes

Versions: 1

Compression:

Stored size: 242 Bytes

Contents

module Roro

  class CLI < Thor
    
    no_commands do  

      def choices 
        { default: 'y', limited_to: ["y", "n"] }
      end
      
      def own_if_required
        system 'sudo chown -R $USER .'
      end   
    end
  end 
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
roro-0.3.4 lib/roro/cli/base/utilities.rb