From 240c21d3f2c2c99c0b79da8a28af996b71cde1f9 Mon Sep 17 00:00:00 2001 From: bullshar-k <273740932+bullshar-k@users.noreply.github.com> Date: Sun, 11 Oct 2026 17:16:59 -0400 Subject: [PATCH] a --- README.md | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/README.md b/README.md index 171baa8..affc40a 100644 --- a/README.md +++ b/README.md @@ -10,26 +10,26 @@ This was entirely written by AI. All it does it generate wireguard keys and auto git clone https://github.com/bullshar-k/wgconf cd wgconf go build -./wgconf +./wgconfig ``` The help pages will show you the use flags but they're below anyways -### ./wgconf generate new +### ./wgconfig generate new #### Basic example ``` -./wgconf generate new -dest 192.168.1.1 -peer 3 +./wgconfig generate new -dest 192.168.1.1 -peer 3 ``` This will create a server config and 3 peer configs. The server will have address 192.168.1.1/24. The peers will increment by 1 on the last octet. Preshared key is on by default but can be disabled with the flag. -### ./wgconf generate add +### ./wgconfig generate add To use the add command you use it as the previous command but define the previous server.conf file at the end. All this does different is add new peers. If you generate new with conditions A, B, and C. Then you generate add with conditions A and B it will adhere to that. If you want the exact same settings for new peers you must define that. ## Help outputs -./wgconf +./wgconfig ``` Usage: wgconfig generate new [flags] Create new WireGuard configs @@ -38,7 +38,7 @@ Usage: wgconfig -h Show this help wgconfig generate -h Show generate command help ``` -./wgconf generate +./wgconfig generate ``` Usage: @@ -59,7 +59,7 @@ Flags: -P Generate preshared keys, use -P=false to disable (default true) -h Show this help ``` -./wgconf generate new && ./wgconf generate add +./wgconfig generate new && ./wgconfig generate add ``` Usage of new: -P Generate preshared keys (-P=true/false) (default true)