New option to require subcommand #13768
aaronadamsCA
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
I'd like to add a setting that disables the shorthand
pnpm <command>and forces usage of the more explicitpnpm run <command>andpnpm exec <command>.The context is LLM agents and newer developers. The shorthand obfuscates the distinction between scripts, executables, and pnpm built-ins. IMHO this steepens the learning curve, and it would be better to force explicit invocation to help them understand the system.
We had a script named
cleanfor a long time, then you added apnpm cleancommand, and it turned out a lot of our devs and agents couldn't tell why the behaviour had changed.All reactions