-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Add support for sharing and stand-alone parsing of subcommands. Warn about parse calls on commands added with .command()
#1938
Commits on Aug 4, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 4f5ab2d - Browse repository at this point
Copy the full SHA 4f5ab2dView commit details -
Configuration menu - View commit details
-
Copy full SHA for 0ac6609 - Browse repository at this point
Copy the full SHA 0ac6609View commit details
Commits on Aug 5, 2023
-
Configuration menu - View commit details
-
Copy full SHA for 9d4c96a - Browse repository at this point
Copy the full SHA 9d4c96aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 43d9faa - Browse repository at this point
Copy the full SHA 43d9faaView commit details -
Unclutter error message in broken passThrough checks
Co-authored-by: John Gee <john@ruru.gen.nz>
Configuration menu - View commit details
-
Copy full SHA for 43cc821 - Browse repository at this point
Copy the full SHA 43cc821View commit details -
Configuration menu - View commit details
-
Copy full SHA for 7689506 - Browse repository at this point
Copy the full SHA 7689506View commit details -
Configuration menu - View commit details
-
Copy full SHA for d1686db - Browse repository at this point
Copy the full SHA d1686dbView commit details -
Configuration menu - View commit details
-
Copy full SHA for 3de6161 - Browse repository at this point
Copy the full SHA 3de6161View commit details -
Configuration menu - View commit details
-
Copy full SHA for 680930d - Browse repository at this point
Copy the full SHA 680930dView commit details -
Merge branch 'release/12.x' into feature/parents-with-implicit-subcom…
…mand-parse-warning
Configuration menu - View commit details
-
Copy full SHA for ea728ec - Browse repository at this point
Copy the full SHA ea728ecView commit details -
Get rid of redundant currentParent
.currentParent is expected to never be different from .parent in existing code using the library as intended.
Configuration menu - View commit details
-
Copy full SHA for 5085ddc - Browse repository at this point
Copy the full SHA 5085ddcView commit details -
Introduce _getCommandAndAncestors()
Replaces getCommandAndParents(): - turned into an instance method - used "ancestors" instead of "parents" because it is more specific and to avoid confusion with the recently introduced parents array
Configuration menu - View commit details
-
Copy full SHA for aa280af - Browse repository at this point
Copy the full SHA aa280afView commit details -
Configuration menu - View commit details
-
Copy full SHA for 777a452 - Browse repository at this point
Copy the full SHA 777a452View commit details -
Introduce _getCommandAndAncestors()
Replaces getCommandAndParents(): - turned into an instance method - used "ancestors" instead of "parents" because it is more precise (cherry picked from commit aa280af)
Configuration menu - View commit details
-
Copy full SHA for 2005522 - Browse repository at this point
Copy the full SHA 2005522View commit details -
Use _getCommandAndAncestors() consistently
(cherry picked from commit 777a452)
Configuration menu - View commit details
-
Copy full SHA for da5a499 - Browse repository at this point
Copy the full SHA da5a499View commit details -
Merge branch 'feature/_getCommandAndAncestors' into feature/parents-w…
…ith-implicit-subcommand-parse-warning
Configuration menu - View commit details
-
Copy full SHA for 724d414 - Browse repository at this point
Copy the full SHA 724d414View commit details -
Copy type for parents and JSDoc comment for parent to .d.ts file
A corresponding type test for parents has been added.
Configuration menu - View commit details
-
Copy full SHA for 5828e16 - Browse repository at this point
Copy the full SHA 5828e16View commit details
Commits on Aug 10, 2023
-
Use _getCommandAndAncestors() less aggressively
Only call when all elements are to be iterated. Resort to manual iteration via .parent in other cases.
Configuration menu - View commit details
-
Copy full SHA for 8b11122 - Browse repository at this point
Copy the full SHA 8b11122View commit details
Commits on Aug 11, 2023
-
Configuration menu - View commit details
-
Copy full SHA for f7fd986 - Browse repository at this point
Copy the full SHA f7fd986View commit details
Commits on Aug 12, 2023
-
Merge branch 'feature/_getCommandAndAncestors' into feature/parents-w…
…ith-implicit-subcommand-parse-warning
Configuration menu - View commit details
-
Copy full SHA for 4d2415c - Browse repository at this point
Copy the full SHA 4d2415cView commit details -
Reword warning about parse calls on commands added with .command()
Made it less strict: the library user might know better.
Configuration menu - View commit details
-
Copy full SHA for cea6e9d - Browse repository at this point
Copy the full SHA cea6e9dView commit details