Class: Git::Commands::ConfigOptionSyntax::GetColorBool Private
- Defined in:
- lib/git/commands/config_option_syntax/get_color_bool.rb
Overview
This class is part of a private API. You should avoid using this class if possible, as it may be removed or be changed in the future.
Note:
arguments block audited against https://git-scm.com/docs/git-config/2.53.0
Query whether color output is enabled for a config key
Wraps git config --get-colorbool to check whether color output
should be used. This command has no subcommand equivalent even in
git 2.46.0 — it exists only in the option-syntax interface.
Instance Method Summary collapse
-
#call(name, stdout_is_tty = nil, **options) ⇒ Git::CommandLineResult
Execute the
git config --get-colorboolcommand.
Methods inherited from Base
allow_exit_status, arguments, #initialize, requires_git_version, skip_version_validation
Constructor Details
This class inherits a constructor from Git::Commands::Base
Instance Method Details
#call(name, stdout_is_tty = nil, **options) ⇒ Git::CommandLineResult
|
|
# File 'lib/git/commands/config_option_syntax/get_color_bool.rb', line 55
|