Sha256: ff0988eafe324cf7f54033599f9a6b85e16199f99e6e115d300ff8623f6a5c56
Contents?: true
Size: 969 Bytes
Versions: 2
Compression:
Stored size: 969 Bytes
Contents
# frozen_string_literal: true require "thor" module Boilercode module Commands class Dotfiles < Thor namespace :dotfiles desc "download", "Download dotfiles to home directory" method_option :help, aliases: "-h", type: :boolean, desc: "Display usage information" def download(*) if options[:help] invoke :help, ["download"] else require_relative "dotfiles/download" Boilercode::Commands::Dotfiles::Download.new(options).execute end end desc "find", "Find local dotfiles and upload to dotfiles folder in Boilercode Drive" method_option :help, aliases: "-h", type: :boolean, desc: "Display usage information" def find(*) if options[:help] invoke :help, ["find"] else require_relative "dotfiles/find" Boilercode::Commands::Dotfiles::Find.new(options).execute end end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
boilercode-0.1.2 | lib/boilercode/commands/dotfiles.rb |
boilercode-0.1.1 | lib/boilercode/commands/dotfiles.rb |