Skip to content

Commit 208a05a

Browse files
committed
Add a config check to the nuke function
To make the disabling functionality match what is in the man page for comitup-cli.
1 parent f53996d commit 208a05a

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

comitup/nuke.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -36,6 +36,7 @@ def wrapper(*args, **kwargs):
3636
return wrapper
3737

3838

39+
@checkenabled
3940
def nuke():
4041
for ssid in nm.get_all_wifi_connection_ssids():
4142
nm.del_connection_by_ssid(ssid)

0 commit comments

Comments
 (0)