Implemented ListCommand and DeleteAllCommand.
This commit is contained in:
+3
-2
@@ -5,6 +5,7 @@ namespace TBDel
|
||||
internal class Program
|
||||
{
|
||||
// TODO: Add a command to show the Db path
|
||||
// TODO: Add a command to remove a file or folder only from the list
|
||||
static async Task Main(string[] args)
|
||||
{
|
||||
// Show the help message if no arguments are provided
|
||||
@@ -25,10 +26,10 @@ namespace TBDel
|
||||
|
||||
break;
|
||||
case "deleteall":
|
||||
|
||||
await DeleteCommand.DeleteAll();
|
||||
break;
|
||||
case "list":
|
||||
|
||||
await ListCommand.List(args);
|
||||
break;
|
||||
case "help":
|
||||
HelpCommand.Show();
|
||||
|
||||
Reference in New Issue
Block a user