-
Notifications
You must be signed in to change notification settings - Fork 0
📖 Scribe: Document meshguard connect command in CLI reference #69
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
Changes from all commits
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||||||||||||||||||
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
|
@@ -107,6 +107,23 @@ Uses `RTM_DELLINK` via RTNETLINK to remove the interface. | |||||||||||||||||||||
|
|
||||||||||||||||||||||
| --- | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| ## `meshguard connect` | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
| Direct peer connection via token exchange (bypassing seed nodes) and performs a coordinated UDP hole punch. | ||||||||||||||||||||||
|
|
||||||||||||||||||||||
|
Comment on lines
+110
to
+113
|
||||||||||||||||||||||
| ```bash | ||||||||||||||||||||||
| meshguard connect --generate [--in <minutes>] | ||||||||||||||||||||||
| meshguard connect --join <mg://token> | ||||||||||||||||||||||
| ``` | ||||||||||||||||||||||
|
Comment on lines
+114
to
+117
|
||||||||||||||||||||||
|
|
||||||||||||||||||||||
| | Flag | Description | | ||||||||||||||||||||||
| | ------------ | ----------------------------------------------- | | ||||||||||||||||||||||
| | `--generate` | Generate a connection token as the initiator | | ||||||||||||||||||||||
| | `--join` | Join a connection using the peer's token | | ||||||||||||||||||||||
| | `--in` | Delay before punching in minutes (default: 1) | | ||||||||||||||||||||||
|
Comment on lines
+119
to
+123
|
||||||||||||||||||||||
| | Flag | Description | | |
| | ------------ | ----------------------------------------------- | | |
| | `--generate` | Generate a connection token as the initiator | | |
| | `--join` | Join a connection using the peer's token | | |
| | `--in` | Delay before punching in minutes (default: 1) | | |
| | Flag | Description | | |
| | ------------ | ---------------------------------------------------------------------------------------------------- | | |
| | `--generate` | Generate a connection token as the initiator | | |
| | `--join` | Join a connection using the peer's token | | |
| | `--in` | Initiator-only: delay before punching in minutes (default: 1); joiner uses the time embedded in the token | |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The one-line description is grammatically awkward (“... and performs ...”) and reads like two predicates with different subjects. Consider rephrasing to something like “... and perform a coordinated UDP hole punch” or “... performing a coordinated UDP hole punch” for clarity in the CLI reference.