PATH:
opt
/
alt
/
ruby30
/
share
/
rubygems
/
rubygems
/
commands
# frozen_string_literal: true require_relative '../command' require_relative '../gemcutter_utilities' class Gem::Commands::SigninCommand < Gem::Command include Gem::GemcutterUtilities def initialize super 'signin', 'Sign in to any gemcutter-compatible host. '\ 'It defaults to https://rubygems.org' add_option('--host HOST', 'Push to another gemcutter-compatible host') do |value, options| options[:host] = value end add_otp_option end def description # :nodoc: 'The signin command executes host sign in for a push server (the default is'\ ' https://rubygems.org). The host can be provided with the host flag or can'\ ' be inferred from the provided gem. Host resolution matches the resolution'\ ' strategy for the push command.' end def usage # :nodoc: program_name end def execute sign_in options[:host] end end
[-] generate_index_command.rb
[edit]
[-] dependency_command.rb
[edit]
[-] search_command.rb
[edit]
[-] environment_command.rb
[edit]
[-] open_command.rb
[edit]
[-] sources_command.rb
[edit]
[-] owner_command.rb
[edit]
[-] server_command.rb
[edit]
[-] contents_command.rb
[edit]
[-] push_command.rb
[edit]
[-] cleanup_command.rb
[edit]
[-] list_command.rb
[edit]
[-] setup_command.rb
[edit]
[-] signin_command.rb
[edit]
[-] query_command.rb
[edit]
[-] build_command.rb
[edit]
[-] uninstall_command.rb
[edit]
[-] stale_command.rb
[edit]
[-] fetch_command.rb
[edit]
[+]
..
[-] signout_command.rb
[edit]
[-] info_command.rb
[edit]
[-] unpack_command.rb
[edit]
[-] yank_command.rb
[edit]
[-] rdoc_command.rb
[edit]
[-] install_command.rb
[edit]
[-] update_command.rb
[edit]
[-] mirror_command.rb
[edit]
[-] pristine_command.rb
[edit]
[-] cert_command.rb
[edit]
[-] lock_command.rb
[edit]
[-] help_command.rb
[edit]
[-] check_command.rb
[edit]
[-] outdated_command.rb
[edit]
[-] which_command.rb
[edit]
[-] specification_command.rb
[edit]