public static void Menu(ITypedMenu <Bar> menu)
        {
            menu.AddAction("Action2");
            menu.AddAction("Action1", "Renamed1");
            var sub = menu.CreateSubMenuOfSameType("Sub1");

            sub.AddAction("Action3");

            sub = menu.CreateSubMenuOfSameType("Docs");
            sub.AddAction("Action4");
            menu.AddRemainingNativeActions();
            menu.AddContributedActions();
        }
 public static void Menu(ITypedMenu <CustomerRepository> menu)
 {
     menu.AddAction("FindCustomerByAccountNumber");
     menu.CreateSubMenuOfSameType("Stores")
     .AddAction("FindStoreByName")
     .AddAction("CreateNewStoreCustomer")
     .AddAction("RandomStore");
     menu.CreateSubMenuOfSameType("Individuals")
     .AddAction("FindIndividualCustomerByName")
     .AddAction("CreateNewIndividualCustomer")
     .AddAction("RandomIndividual");
     menu.AddAction("CustomerDashboard");
     menu.AddAction("ThrowDomainException");
 }