Skip to content

Commit 9e96bd6

Browse files
authored
Add help examples, header
1 parent 5203c39 commit 9e96bd6

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

tools/wled-tools

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#!/bin/bash
22

3+
# WLED Tools
4+
# A utility for managing WLED devices in a local network
5+
# https://github.com/wled/WLED
6+
37
# Color Definitions
48
GREEN="\e[32m"
59
RED="\e[31m"
@@ -64,6 +68,19 @@ Commands:
6468
update Update the firmware of a WLED device or multiple discovered devices.
6569
discover Discover WLED devices using mDNS and list their IP addresses and names.
6670
71+
Examples:
72+
# Discover all WLED devices on the network
73+
./wled-tools discover
74+
75+
# Backup a specific WLED device
76+
./wled-tools -t 192.168.1.100 backup
77+
78+
# Backup all discovered WLED devices to a specific directory
79+
./wled-tools -D -d /path/to/backups backup
80+
81+
# Update firmware on all discovered WLED devices
82+
./wled-tools -D -f /path/to/firmware.bin update
83+
6784
EOF
6885
}
6986

0 commit comments

Comments
 (0)