| 1 | package App::Gitc::UserLookup; | ||
| 2 | |||
| 3 | use strict; | ||
| 4 | use warnings; | ||
| 5 | |||
| 6 | # ABSTRACT: App::Gitc::Util helper | ||
| 7 | our $VERSION = '0.60'; # VERSION | ||
| 8 | |||
| 9 | use App::Gitc::Util qw( git ); | ||
| 10 | |||
| 11 | # Lets you put your users in a git tag. | ||
| 12 | sub users { | ||
| 13 | return map { s{^user/}{}; $_ } git 'tag -l user/*'; | ||
| 14 | } | ||
| 15 | |||
| 16 | __END__ |