high-yak-85899
08/29/2023, 6:04 PMpants.toml are valid references to targets?enough-analyst-54434
08/30/2023, 12:31 AMhigh-yak-85899
08/30/2023, 12:44 AMhigh-yak-85899
08/30/2023, 12:45 AMrun really/long/random/path/to/some/cli.py -- down to helpful_cli so users can just do pants helpful_cli <args>high-yak-85899
08/30/2023, 12:46 AMenough-analyst-54434
08/30/2023, 12:52 AM./pants foo --help where foo is the alias foo = "glug" or foo = "test glug" will ferret out a failure but if the alias is foo = "test glug/baz/does/not/exist" - the --help trick doesn't help.enough-analyst-54434
08/30/2023, 12:53 AMalias target to do what you talk about here. Basically a target that was immediately de-referenced to the target it pointed at - exactly for this path shortening trick. That went away in the v1 -> v2 transition though.enough-analyst-54434
08/30/2023, 12:54 AMhigh-yak-85899
08/30/2023, 12:55 AMhigh-yak-85899
08/30/2023, 12:55 AMhigh-yak-85899
08/30/2023, 12:55 AM--help to the end of most of ours.enough-analyst-54434
08/30/2023, 12:56 AM/ or starting with -- and the remaining should all be paths or targets you can probably just try a ./pants list on.