You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The processing starts with an array of args. Each command processes and removes the options it understands, and passes the remaining args to the next subcommand.
4
+
The final command calls the action handler.
5
+
6
+
Starting with top-level command (program):
7
+
8
+
- parse options: parse recognised options (for this command) and remove from args
9
+
- parse env: look for environment variables (for this command)
10
+
- process implied: set any implied option values (for this command)
11
+
- if the first arg is a subcommand
12
+
- call `preSubcommand` hook
13
+
- pass remaining arguments to subcommand, and process same way
0 commit comments