@@ 7-12 (lines=6) @@ | ||
4 | $userQueryCommandFound = false; |
|
5 | ||
6 | switch ($query) { |
|
7 | case 'config': |
|
8 | $userQueryCommandFound = true; |
|
9 | $data['action'] = 'edit'; |
|
10 | $title = 'Edit config file'; |
|
11 | $subtitle = 'Open the config file in your favorite editor!'; |
|
12 | break; |
|
13 | ||
14 | case 'sync': |
|
15 | $userQueryCommandFound = true; |
|
@@ 14-19 (lines=6) @@ | ||
11 | $subtitle = 'Open the config file in your favorite editor!'; |
|
12 | break; |
|
13 | ||
14 | case 'sync': |
|
15 | $userQueryCommandFound = true; |
|
16 | $data['action'] = 'sync'; |
|
17 | $title = 'Sync projects and tags from online to local cache'; |
|
18 | $subtitle = 'Update local projects and tags data'; |
|
19 | break; |
|
20 | ||
21 | case 'delete': |
|
22 | $userQueryCommandFound = true; |
|
@@ 21-26 (lines=6) @@ | ||
18 | $subtitle = 'Update local projects and tags data'; |
|
19 | break; |
|
20 | ||
21 | case 'delete': |
|
22 | $userQueryCommandFound = true; |
|
23 | $data['action'] = 'delete'; |
|
24 | $title = 'Delete a timer'; |
|
25 | $subtitle = 'Press enter to load recent timers list'; |
|
26 | break; |
|
27 | ||
28 | case 'undo': |
|
29 | $userQueryCommandFound = true; |