Skip to content

refactor: remove bin directory and CLI script, update build process t…#46

Merged
Seann0824 merged 3 commits intomainfrom
refactor_http_util
Aug 4, 2025
Merged

refactor: remove bin directory and CLI script, update build process t…#46
Seann0824 merged 3 commits intomainfrom
refactor_http_util

Conversation

@Seann0824
Copy link
Copy Markdown
Contributor

…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.

sean0824 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.
@Seann0824 Seann0824 merged commit fa68b5c into main Aug 4, 2025
1 check passed
@Seann0824 Seann0824 deleted the refactor_http_util branch August 7, 2025 08:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants