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

Add merge subcommand to sing-box rule-set #2370

Closed
wants to merge 43 commits into from

Conversation

surinrasu
Copy link

Merge multiple rule-set json files

Usage:
  sing-box rule-set merge [flags] <source-path-1> <source-path-2> [<source-path-3> ...]

Flags:
  -h, --help           help for merge
  -w, --write string   write result to a file instead of stdout

Global Flags:
  -c, --config stringArray             set configuration file path
  -C, --config-directory stringArray   set configuration directory path
  -D, --directory string               set working directory
      --disable-color                  disable color output

When I was creating my own rule set, I realised I needed a tool like this, so I wrote this subcommand
I'm not expert of Golang nor familiar with this repo, so I'm sorry and please feel free to modify it if there's anything should be improved 🥺

@nekohasekai nekohasekai force-pushed the dev-next branch 6 times, most recently from 492934f to 7210c6a Compare December 16, 2024 01:43
@nekohasekai
Copy link
Member

nekohasekai commented Dec 16, 2024

Try f85a7e8

@surinrasu
Copy link
Author

Try f85a7e8

Thanks for your work and review! It works perfectly well🥰

@nekohasekai nekohasekai force-pushed the dev-next branch 8 times, most recently from 11ebd70 to a3278af Compare December 21, 2024 11:40
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