Sha256: 5892aa42c5a57d7fc132becba0654a06b21455bdb836fc1bce4bbb4de07bf624
Contents?: true
Size: 1.6 KB
Versions: 12
Compression:
Stored size: 1.6 KB
Contents
# frozen_string_literal: true require 'thor' require 'thor_nested_subcommand' require_relative '../configurable' require_relative '../exitable' require_relative '../task_defaultable' module Branch module Name module Subcommands class Delete < ::Thor include Configurable include Exitable include TaskDefaultable include ThorNestedSubcommand class << self def base_usage 'config delete' end end desc 'all', 'Deletes all config files (local and global) for this gem' long_desc <<-LONG_DESC NAME `branch-name config delete all` -- will remove the all .branch-name config files. SYNOPSIS branch-name config delete all LONG_DESC def all delete_global_config_file! delete_local_config_file! end desc 'global', 'Deletes the global config file for this gem' long_desc <<-LONG_DESC NAME `branch-name config delete global` -- will remove the global .branch-name config file. SYNOPSIS branch-name config delete global LONG_DESC def global delete_global_config_file! end desc 'local', 'Deletes the local config file for this gem' long_desc <<-LONG_DESC NAME `branch-name config delete local` -- will remove the local .branch-name config file. SYNOPSIS branch-name config delete local LONG_DESC def local delete_local_config_file! end end end end end
Version data entries
12 entries across 12 versions & 1 rubygems