Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

command line flag for turning off security check (reopens #74) #191

Closed
doctorpangloss opened this issue Dec 3, 2024 · 2 comments
Closed
Assignees
Labels
enhancement New feature or request good first issue Good for newcomers

Comments

@doctorpangloss
Copy link

Add a command line flag to disable the security check. It is always a false positive when running repomix on documentation.

#74

@yamadashy
Copy link
Owner

yamadashy commented Dec 4, 2024

Hi, @doctorpangloss !
Thanks for the suggestion!

I'll add --no-security-check flag which follows the common pattern in Node.js ecosystem (like eslint's --no-eslintrc, biome's --no-git-ignore).

Example usage:

# Disable security check for this execution
repomix --no-security-check

# Can be combined with other options
repomix --no-security-check -o custom-output.txt

For permanent configuration, users can still use repomix.config.json:

{
  "security": {
    "enableSecurityCheck": false
  }
}

Does this approach sound good to you?

@yamadashy yamadashy added enhancement New feature or request good first issue Good for newcomers labels Dec 4, 2024
@yamadashy yamadashy self-assigned this Dec 10, 2024
@yamadashy
Copy link
Owner

@doctorpangloss
I've added the --no-security-check option in v0.2.6.

You can check out the release notes here:
https://github.com/yamadashy/repomix/releases/tag/v0.2.6

Closing this issue. Thanks for raising this issue!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request good first issue Good for newcomers
Projects
None yet
Development

No branches or pull requests

2 participants