Skip to content

Commit

Permalink
feat(changed): Added parameter: -t,--topological
Browse files Browse the repository at this point in the history
  • Loading branch information
alexmensak authored and tommy351 committed May 20, 2021
1 parent 0fa6cd3 commit 68e78a3
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions packages/changed/src/commands/foreach.ts
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,9 @@ export default class ChangedForeachCommand extends FilterCommand {
@Command.Boolean('-i,--interlaced')
interlaced = false;

@Command.Boolean('-t,--topological')
topological = false;

@Command.String('-j,--jobs')
jobs?: number;

Expand Down Expand Up @@ -92,6 +95,7 @@ export default class ChangedForeachCommand extends FilterCommand {
...(this.verbose ? ['--verbose'] : []),
...(this.parallel ? ['--parallel'] : []),
...(this.interlaced ? ['--interlaced'] : []),
...(this.topological ? ['--topological'] : []),
...(this.jobs ? ['--jobs', `${this.jobs}`] : []),
this.commandName,
...this.args,
Expand Down

0 comments on commit 68e78a3

Please sign in to comment.