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

Added command line flag processing #4

Merged
merged 1 commit into from
Oct 5, 2022
Merged

Conversation

bonnyr
Copy link
Contributor

@bonnyr bonnyr commented Oct 5, 2022

  1. Reorg of files
  2. added --forward args to allow multiple forwards
  3. added --listenPort arg to allow setting the local listen port
  4. unit tests
  5. added dummy lint target - need to discuss tools in order to enable

0. Reorg of files
1. added --forward args to allow multiple forwards
2. added --listenPort arg to allow setting the local listen port
3. unit tests
4. added dummy lint target - need to discuss tools in order to enable
@urish urish merged commit b1f3202 into wokwi:main Oct 5, 2022
@urish
Copy link
Contributor

urish commented Oct 5, 2022

Thank you Bonny!

@urish
Copy link
Contributor

urish commented Oct 5, 2022

Usage example:

To forward local port 4080 to ESP32 port 80:

./wokwigw --forward "4080:10.13.37.2:80"

@urish
Copy link
Contributor

urish commented Oct 5, 2022

Released as v1.0.0

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.

3 participants