fop-cli 4.2.9 → 4.3.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (3) hide show
  1. package/README.md +17 -0
  2. package/install.js +1 -1
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -98,6 +98,7 @@ fop -n ~/easylist ~/easyprivacy ~/fanboy-addon
98
98
  | `--disable-domain-limit=` | Files to skip short domain check (comma-separated) |
99
99
  | `--warning-output=` | Output warnings to file instead of stderr |
100
100
  | `--git-message=` | Git commit message (skip interactive prompt) |
101
+ | `--history=` | Predefined commit messages for arrow key selection (comma-separated) |
101
102
  | `--create-pr[=TITLE]` | Create PR branch instead of committing to current branch |
102
103
  | `--git-pr-branch=NAME` | Base branch for PR (default: auto-detect main/master) |
103
104
  | `--pr-show-changes` | Include rule changes (combines, merges, typos) in PR body |
@@ -105,6 +106,9 @@ fop -n ~/easylist ~/easyprivacy ~/fanboy-addon
105
106
  | `--fix-typos-on-add` | Check cosmetic rule typos in git additions before commit |
106
107
  | `--auto-fix` | Auto-fix typos without prompting (use with --fix-typos-on-add) |
107
108
  | `--only-sort-changed` | Only process files changed according to git |
109
+ | `--check-banned-list=FILE` | Check for banned domains in git additions |
110
+ | `--auto-banned-remove` | Auto-remove banned domains and commit |
111
+ | `--ci` | CI mode - exit with error code on failures (banned domains) |
108
112
  | `--rebase-on-fail` | Auto rebase and retry push if it fails |
109
113
  | `--ignore-config` | Ignore .fopconfig file, use only CLI args |
110
114
  | `--output` | Output changed files with --changed suffix (no overwrite) |
@@ -193,6 +197,15 @@ auto-fix = false
193
197
  # Only sort git-changed files (skip unchanged)
194
198
  only-sort-changed = false
195
199
 
200
+ # Path to banned domain list file
201
+ check-banned-list =
202
+
203
+ # Auto-remove banned domains and commit
204
+ auto-banned-remove = false
205
+
206
+ # CI mode - exit with error code on failures
207
+ ci = false
208
+
196
209
  # Auto rebase and retry if push fails
197
210
  rebase-on-fail = false
198
211
 
@@ -201,6 +214,10 @@ quiet = false
201
214
 
202
215
  # Users allowed to push directly when create-pr is enabled (comma-separated, case-insensitive)
203
216
  direct-push-users =
217
+
218
+ # Predefined commit messages for arrow key selection (comma-separated)
219
+ # Use up/down arrows at commit prompt to cycle through these
220
+ history = A: ,P: ,M: Update,M: Cleanup,M: Sort,M: Adjust
204
221
  ```
205
222
 
206
223
  Command line arguments override config file settings.
package/install.js CHANGED
@@ -7,7 +7,7 @@ const path = require('path');
7
7
  const { execSync } = require('child_process');
8
8
 
9
9
  // Configuration - UPDATE THESE FOR YOUR RELEASE
10
- const VERSION = '4.2.9';
10
+ const VERSION = '4.3.1';
11
11
  const GITHUB_REPO = 'ryanbr/fop-rs'; // Change to your repo
12
12
  const BINARY_NAME = 'fop';
13
13
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "fop-cli",
3
- "version": "4.2.9",
3
+ "version": "4.3.1",
4
4
  "description": "Filter Orderer and Preener - A tool for sorting and cleaning ad-blocking filter lists",
5
5
  "keywords": [
6
6
  "adblock",