class Git::Commands::ConfigOptionSyntax::List

List all config entries

Wraps ‘git config –list` to output all config entries visible from the current scope.

@example List all config entries

cmd = Git::Commands::ConfigOptionSyntax::List.new(lib)
cmd.call

@example List global config entries

cmd = Git::Commands::ConfigOptionSyntax::List.new(lib)
cmd.call(global: true)

@example List entries from a specific file

cmd = Git::Commands::ConfigOptionSyntax::List.new(lib)
cmd.call(file: '/path/to/config')

@note ‘arguments` block audited against git-scm.com/docs/git-config/2.53.0

@see Git::Commands::ConfigOptionSyntax

@see git-scm.com/docs/git-config git-config

@api private