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

[FR] json output for proxy list #34

Open
proItheus opened this issue Jan 7, 2024 · 1 comment
Open

[FR] json output for proxy list #34

proItheus opened this issue Jan 7, 2024 · 1 comment

Comments

@proItheus
Copy link

Thanks for this awesome project! I want to use clashctl in some of my scripts, but parsing the output of proxy list is a pain.

Maybe we can add a json output option for easy parsing. e.g. with a schema like:

{
  "name": "proxygroup1",
  "type": "Selector",
  "delay": null,
  "subproxies": [
    "proxy1",
    "proxy2",
    "proxygroup2"
  ]
}
@George-Miao
Copy link
Owner

Sorry for such a late response. Currently I'm not using clash nor clashctl anymore, which defeats the single most important reason to continue adding features for this project. I'm still willing to accept PR's and new contributors though, so if you think this is necessary, please kindly write a PR and I will be more than happy to review and merge it.

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

No branches or pull requests

2 participants