Skip to content

Commit 0e94471

Browse files
Added list backups call
1 parent 9698f72 commit 0e94471

File tree

1 file changed

+5
-1
lines changed

1 file changed

+5
-1
lines changed

qwcli/qwcli.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,13 +7,14 @@ cli_help() {
77
echo "
88
$cli_name
99
Quick WordPress CLI
10-
Version: 0.1.0
10+
Version: 1.0.0
1111
https://github.com/russellmacshane/quick-wordpress
1212
1313
Usage: $cli_name [command]
1414
1515
Commands:
1616
backup Backup
17+
list List Backups
1718
restore Restore
1819
* Help
1920
"
@@ -24,6 +25,9 @@ case "$1" in
2425
backup|b)
2526
/quick-wordpress/qwcli/backup.sh
2627
;;
28+
list|l)
29+
ls /quick-wordpress/backup
30+
;;
2731
restore|r)
2832
/quick-wordpress/qwcli/restore.sh
2933
;;

0 commit comments

Comments
 (0)