Skip to content

Adding --external-ip-map and --dns-resolver-address and shorthand flags - #652

Merged
mlsmaycon merged 11 commits into
mainfrom
feature/add-new-cli-flags
Jan 17, 2023
Merged

Adding --external-ip-map and --dns-resolver-address and shorthand flags#652
mlsmaycon merged 11 commits into
mainfrom
feature/add-new-cli-flags

Conversation

@mlsmaycon

@mlsmaycon mlsmaycon commented Jan 12, 2023

Copy link
Copy Markdown
Collaborator

Describe your changes

Adding --external-ip-map and --dns-resolver-address to up command and shorthand option to global flags.

updated reference doc with new flags here: netbirdio/docs#28

Refactor get and read config functions with new ConfigInput type.

updated cobra package to latest release.

Issue ticket number and link

#585

Checklist

  • Is a feature enhancement
  • Created tests that fail without the change (if possible)
  • Extended the README / documentation, if necessary

@mlsmaycon
mlsmaycon requested a review from braginini January 12, 2023 11:20
@mlsmaycon mlsmaycon changed the title Add external-ip-map flag for ICE nat 1:1 candidates Adding --external-ip-map and --dns-resolver-address and shorthand flags Jan 15, 2023
@mlsmaycon
mlsmaycon marked this pull request as ready for review January 15, 2023 11:49
@mlsmaycon

Copy link
Copy Markdown
Collaborator Author

Still a pain to add new flags mainly caused by the current behavior and daemon communication.

It might make sense for us to refactor this whole thing or change the behavior for updating daemon settings

Comment thread client/cmd/root.go Outdated
@mlsmaycon
mlsmaycon merged commit dcf6533 into main Jan 17, 2023
@mlsmaycon
mlsmaycon deleted the feature/add-new-cli-flags branch January 17, 2023 18:16
@e-renna e-renna mentioned this pull request Jan 26, 2023
pulsastrix pushed a commit to pulsastrix/netbird that referenced this pull request Dec 24, 2023
…gs (netbirdio#652)

Adding --external-ip-map and --dns-resolver-address to up command and shorthand option to global flags.

Refactor get and read config functions with new ConfigInput type.

updated cobra package to latest release.
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