Skip to content

Commit b698b25

Browse files
committedSep 26, 2020
Number the subcommand steps.
1 parent dffb804 commit b698b25

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed
 

‎src/doc/contrib/src/architecture/subcommands.md

+4-4
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,10 @@ subcommands live in [`src/bin/cargo/commands`] directory.
77
Each subcommand, such as [`src/bin/cargo/commands/build.rs`], usually performs
88
the following:
99

10-
* Parse the CLI flags. See the [`command_prelude`] module for some helpers to make this easier.
11-
* Load the config files.
12-
* Discover and load the workspace.
13-
* Calls the actual implementation of the subcommand which resides in [`src/cargo/ops`].
10+
1. Parse the CLI flags. See the [`command_prelude`] module for some helpers to make this easier.
11+
2. Load the config files.
12+
3. Discover and load the workspace.
13+
4. Calls the actual implementation of the subcommand which resides in [`src/cargo/ops`].
1414

1515
If the subcommand is not found in the built-in list, then Cargo will
1616
automatically search for a subcommand named `cargo-{NAME}` in the users `PATH`

0 commit comments

Comments
 (0)
Please sign in to comment.