class Git::Commands::Tag::List

Implements the ‘git tag –list` command

This command lists existing tags with optional filtering and sorting.

@example Basic tag listing

list = Git::Commands::Tag::List.new(execution_context)
tags = list.call

@example List tags matching a pattern

list = Git::Commands::Tag::List.new(execution_context)
tags = list.call('v1.*')

@example List tags containing a commit

list = Git::Commands::Tag::List.new(execution_context)
tags = list.call(contains: 'abc123')

@example List tags with multiple patterns

list = Git::Commands::Tag::List.new(execution_context)
tags = list.call('v1.*', 'v2.*', sort: 'version:refname')

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

@see Git::Commands::Tag

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

@api private