using Common;
namespace CLI;
class Program
{
static string BINARY_NAME = "pass";
static int Main(string[] args)
//ConfigFileManager.ExceptionOccured += (e) => ErrorOccured(e);
//ConfigFileManager.Init();
if (args.Length == 0)
ListPasswords();
return 0;
}
else
switch (args[0])
case "help":
HelpMessage();
break;
default:
static void ListPasswords()
static void ErrorOccured(Exception e)
Console.WriteLine($"The following error occured while trying to load your profile:\n{e}\nMore details:\n{e.ToString()}");