Sha256: a7ab86439523d5a676bb7b56d1c1539a6dfa129e967b71b9eca8b8ff9b5cf341
Contents?: true
Size: 1.24 KB
Versions: 12
Compression:
Stored size: 1.24 KB
Contents
# frozen_string_literal: true require 'thor' require_relative '../configurable' require_relative '../exitable' require_relative 'delete' require_relative 'init' require_relative '../task_defaultable' module Branch module Name module Subcommands class Config < ::Thor include Configurable include Exitable include TaskDefaultable desc 'info', 'Displays information about this gem configuration' long_desc <<-LONG_DESC NAME `branch-name config info` -- Displays information about this gem configuration. SYNOPSIS branch-name config info LONG_DESC def info print_global_config_file say '' if global_folder? say 'NOTE: You are in your global folder. ' \ 'Local and global configurations are the same.'.colorize(:yellow) return end print_local_config_file end desc 'init SUBCOMMAND', 'Sets up config files for this gem' subcommand :init, Branch::Name::Subcommands::Init desc 'delete SUBCOMMAND', 'Deletes one of all config files for this gem' subcommand :delete, Branch::Name::Subcommands::Delete end end end end
Version data entries
12 entries across 12 versions & 1 rubygems