refactor: remove bin directory and CLI script, update build process t…#46
Merged
refactor: remove bin directory and CLI script, update build process t…#46
Conversation
added 3 commits
August 1, 2025 17:41
…o use dist/index.js directly - Deleted the `bin/cli.js` file and removed references to the `bin` directory. - Updated `package.json` to point the `bin` entry to `dist/index.js`. - Modified build script to reflect changes in file structure and ensure executable permissions are set correctly. - Adjusted command examples in the build output to use the new entry point.
…ed functionality - Introduced a new command line argument `--no-rule` to allow users to disable rules. - Updated the `parserArgs` function to parse the new `noRule` argument. - Modified debug output to include the status of the `noRule` option. - Adjusted the `createHttpUtil` function to return an empty rules array when `noRule` is enabled.
…ons and environment variable configurations - Added `--no-rule` option to command line usage in both English and Chinese documentation. - Included instructions for using environment variables as an alternative to command line arguments. - Enhanced sections on command line options and local development for clarity and completeness.
fa3eng
approved these changes
Aug 4, 2025
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
…o use dist/index.js directly
bin/cli.jsfile and removed references to thebindirectory.package.jsonto point thebinentry todist/index.js.