class Git::Commands::Archive::ListFormats

Format lister for ‘git archive –list`

Lists all available archive formats supported by the current git installation. This is a standalone mode of ‘git archive` that does not require a tree-ish operand.

@example List available archive formats

cmd = Git::Commands::Archive::ListFormats.new(execution_context)
result = cmd.call
result.stdout  # => "tar\ntgz\ntar.gz\nzip\n"

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

@see Git::Commands::Archive Git::Commands::Archive for the full archive command interface

@see git-scm.com/docs/git-archive git-archive documentation

@api private