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 Support to pass any extra arguments to cloudflared cli #48

Open
1 task done
bhargavprajapati949 opened this issue Jul 11, 2024 · 1 comment
Open
1 task done
Labels
enhancement New feature or request

Comments

@bhargavprajapati949
Copy link

bhargavprajapati949 commented Jul 11, 2024

Describe the feature

Need support to pass any extra arguments to cloudflared cli as per custom needs

This will also solve some of open issues in this package

Ability to pass "--protocol http2" to cloudflared (#38)

  • Here, developer can pass this using new extraArg parameter like this
startTunnel({ extraArgs: "--protocol http2" });
Screenshot 2024-07-11 at 12 39 35 PM

CLI tunnel not working on first time install (#10)

  • I have also faced this similar issue, where initially this package downloads older version of cloudflared cli and when we start tunnel first time is checks for update after starting the tunnel and it updates cloudflared cli and stops the tunnel
Screenshot 2024-07-11 at 12 31 11 PM - Here, I need support to pass extraArg "--no-autoupdate" which solves this problem Screenshot 2024-07-11 at 12 37 17 PM Screenshot 2024-07-11 at 12 38 12 PM

Additional information

  • Would you be willing to help implement this feature?
@shiny
Copy link

shiny commented Dec 20, 2024

I hope to use the --token parameter for a fixed URL, but it seems there's no way to implement this.

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

No branches or pull requests

2 participants