From 06bf8bc7b8f5041fa9210e9b8a818d4e0f49874b Mon Sep 17 00:00:00 2001 From: Arshan Dabirsiaghi Date: Sun, 10 Nov 2024 18:58:58 -0500 Subject: [PATCH] Update cli.md (#40) --- cli.md | 1 + 1 file changed, 1 insertion(+) diff --git a/cli.md b/cli.md index d97bc47..53582f7 100644 --- a/cli.md +++ b/cli.md @@ -42,6 +42,7 @@ The `executable` could involve multiple command line tokens (e.g., `npm run` or - You cannot legally specify any argument more than one time. - If `--output` is given, it indicates the path where a codetf or diff file will be created (depending on the value of `--output-format`). Otherwise no output file is generated. - All codemod rules are loaded by default unless `--codemod-include` specifies a list. `--codemod-exclude` works off all default codemods. +- Specifying a `--codemod-include` will set the order of codemod execution, otherwise the order will be the order of the codemod collection passed to the entry point API. - Specifying a `--codemod-include` or `--codemod-exclude` that references a non-existent codemod will result in an error - You can specify a simple wildcard for `--codemod-include` and `--codemod-exclude` (e.g., `--codemod-include=acme:*`). If this pattern doesn't match any codemods, a warning will be issued. - If the `` doesn’t exist, an error should be thrown