@@ -27,6 +27,10 @@ enum Commands {
2727 #[ arg( short, long) ]
2828 tag : Vec < String > ,
2929
30+ /// Exclude repositories with these tags (can be specified multiple times)
31+ #[ arg( short = 'e' , long) ]
32+ exclude_tag : Vec < String > ,
33+
3034 /// Execute operations in parallel
3135 #[ arg( short, long) ]
3236 parallel : bool ,
@@ -49,7 +53,7 @@ enum Commands {
4953 tag : Vec < String > ,
5054
5155 /// Exclude repositories with these tags (can be specified multiple times)
52- #[ arg( long) ]
56+ #[ arg( short = 'e' , long) ]
5357 exclude_tag : Vec < String > ,
5458
5559 /// Execute operations in parallel
@@ -110,6 +114,10 @@ enum Commands {
110114 #[ arg( short, long) ]
111115 tag : Vec < String > ,
112116
117+ /// Exclude repositories with these tags (can be specified multiple times)
118+ #[ arg( short = 'e' , long) ]
119+ exclude_tag : Vec < String > ,
120+
113121 /// Execute operations in parallel
114122 #[ arg( short, long) ]
115123 parallel : bool ,
@@ -128,6 +136,10 @@ enum Commands {
128136 #[ arg( short, long) ]
129137 tag : Vec < String > ,
130138
139+ /// Exclude repositories with these tags (can be specified multiple times)
140+ #[ arg( short = 'e' , long) ]
141+ exclude_tag : Vec < String > ,
142+
131143 /// Execute operations in parallel
132144 #[ arg( short, long) ]
133145 parallel : bool ,
@@ -159,13 +171,14 @@ async fn main() -> Result<()> {
159171 repos,
160172 config,
161173 tag,
174+ exclude_tag,
162175 parallel,
163176 } => {
164177 let config = Config :: load_config ( & config) ?;
165178 let context = CommandContext {
166179 config,
167180 tag,
168- exclude_tag : Vec :: new ( ) ,
181+ exclude_tag,
169182 parallel,
170183 repos : if repos. is_empty ( ) { None } else { Some ( repos) } ,
171184 } ;
@@ -209,13 +222,14 @@ async fn main() -> Result<()> {
209222 create_only,
210223 config,
211224 tag,
225+ exclude_tag,
212226 parallel,
213227 } => {
214228 let config = Config :: load_config ( & config) ?;
215229 let context = CommandContext {
216230 config,
217231 tag,
218- exclude_tag : Vec :: new ( ) ,
232+ exclude_tag,
219233 parallel,
220234 repos : if repos. is_empty ( ) { None } else { Some ( repos) } ,
221235 } ;
@@ -240,13 +254,14 @@ async fn main() -> Result<()> {
240254 repos,
241255 config,
242256 tag,
257+ exclude_tag,
243258 parallel,
244259 } => {
245260 let config = Config :: load_config ( & config) ?;
246261 let context = CommandContext {
247262 config,
248263 tag,
249- exclude_tag : Vec :: new ( ) ,
264+ exclude_tag,
250265 parallel,
251266 repos : if repos. is_empty ( ) { None } else { Some ( repos) } ,
252267 } ;
0 commit comments