Skip to content

Is it possible to alias multiple goals? #21798

Closed Answered by benjyw
kdowney-talos asked this question in Q&A
Discussion options

You must be logged in to vote

You can do this with command-line aliases.
E.g.,

[cli.alias]
pre-commit = "fmt lint check test ::"

And then

$ pants pre-commit

Is the same as

$ pants fmt lint check test ::

Replies: 1 comment 1 reply

Comment options

benjyw
Dec 25, 2024
Maintainer Sponsor

You must be logged in to vote
1 reply
@kdowney-talos
Comment options

Answer selected by huonw
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants