MUP - Menu Up

Related tags

Laravel MUP
Overview

MUP (aka: 'Menu Up')

What is it?

It's a bash script that generates a selection menu from a simple configuration file.

it is what you want it to be

Config:

[Cache: Flush && Clean]
exec=php bin/magento cache:flush && php bin/magento cache:clean

[Setup: Upgrade]
exec=php bin/magento setup:upgrade

...

Why is it?

Because it's easier than making an alias or copying and pasting commands.

Installation

You can install via composer with composer require npoole81/mup

Usage

Just type 'mup' and you'll be given the default menu which you can customize or override.

mup

SubMenus

You can use MUP recursively and create sub-menus.

[Main Item]
exec=mup -c sub-menu.conf

and then in sub-menu.conf

[Sub Menu Item]
exec=date

Callbacks

In the config entry, you can provide a "callback" command which is used after a menu item is completed.

[Sub Menu Item]
exec=date
callback=mup

In this example, after executing the command date, MUP will call itself (with the default menu).

If no callback is set, after a menu item is selected MUP will exit.

Supported Parameters

Config File

By default MUP looks for $EXECUTABLE_NAME-menu.conf in the same directory as the bash file. That is, if you rename 'mup' to 'foobar' it will look for 'foobar-menu.conf'.

You can pass the conf parameter (-c|--conf) to MUP to specify the config file to use.

mup -c /home/$user/configFile.conf

Auto Execute

You can pass the execute parameter (-e|--execute) to MUP to specify a series of selections to run sequentially.

mup -e 1,2,3

NOTE: This method does not execute callbacks.

MUP will still confirm the commands it's about to run.

Auto Execute: No interaction

You can pass the no-interaction parameter (-n|--no-interaction) along with --execute to not require confirmation before running commands.

mup -e 1,2,3 -n

Other Stuff

Local Config File

MUP will look for the file .mup/mup-menu.conf relative to the current working directory and by default use it for the config file.

You can bypass this by passing the config (-c|--config) parameter the value 'DEFAULT'.

mup -c default

You might also like...
Html menu generator for Laravel
Html menu generator for Laravel

Html Menu Generator for Laravel This is the Laravel version of our menu package adds some extras like convenience methods for generating URLs and macr

route:menu gives you a beautiful route list which is friendly on smaller terminals and brings a few new features in.
route:menu gives you a beautiful route list which is friendly on smaller terminals and brings a few new features in.

Laravel Route Menu Your route:list, sir. route:menu gives you a beautiful route list which is friendly on smaller terminals and brings a few new featu

Module to generate a mega dropdown menu for YOOtheme Pro
Module to generate a mega dropdown menu for YOOtheme Pro

YOOtheme Mega Menu module Joomla module to generate a mega dropdown menu for YOOtheme Pro. Installation instructions Download the latest release here.

A custom WordPress nav walker class to fully implement the Twitter Bootstrap 4.0+ navigation style (v3-branch available for Bootstrap 3) in a custom theme using the WordPress built in menu manager.

WP Bootstrap Navwalker This code in the main repo branch is undergoing a big shakeup to bring it in line with recent standards and to merge and test t

A script to retrieve data from a Netatmo weather station and display it in a Mac menu bar.

weathermenu A script to retrieve data from a Netatmo weather station and display it in a Mac menu bar. Intended for use with SwiftBar. Configuration N

A TWBS menu builder for Laravel

Laravel Menu Builder A menu builder for Laravel 4-5 using Bootstrap's markup. Документация на Русском Note that this package is shipped with no styles

Laravel 5 nested category/menu generator

Laravel 5 Nestable Laravel Nestable to work with recursive logic. Category level there is no limit but this may vary depending on your server performa

📝 Artisan Menu - Use Artisan via an elegant console GUI
📝 Artisan Menu - Use Artisan via an elegant console GUI

📝 Artisan Menu Use Artisan via an elegant console GUI Features Run built-in and custom Artisan commands from a console GUI Prompts to enter required

🧿 Build navigation or menu for Laravel and Awes.io. Unlimited complexity and depth, with permissions and sorting support.
🧿 Build navigation or menu for Laravel and Awes.io. Unlimited complexity and depth, with permissions and sorting support.

Navigator Laravel package that can easily create navigation menus of any complexity. With support for routing, permissions, sorting, rendering depth,

recept és napi menü kezelő program. Anyag szükséglet számítás, bevásárló lista készítés
recept és napi menü kezelő program. Anyag szükséglet számítás, bevásárló lista készítés

Szakácskönyv A programba étel recepteket és napi menüket lehet kezelni. Ezek alapján a program adott időszak összesített anyagszükségleteit tudja megh

A Zabbix module to show groups/hosts as a tree under Monitoring -> Hosts Tree menu item
A Zabbix module to show groups/hosts as a tree under Monitoring - Hosts Tree menu item

zabbix-module-hosts-tree Written according to Zabbix official documentation https://www.zabbix.com/documentation/current/manual/modules A Zabbix modul

Html menu generator
Html menu generator

Html Menu Generator The spatie/menu package provides a fluent interface to build menus of any size in your php application. If you're building your ap

Menu Library for PHP

KnpMenu The KnpMenu library provides object oriented menus for PHP. It is used by the KnpMenuBundle for Symfony but can now be used stand-alone. Insta

Magento 2 module to quickly acces products, orders and customer from admin menu

Magento 2 module to quickly access product, order or customer views Introduction The Magento 2 backend can be sluggish. Ever wanted to access a produc

Silverstripe-tinytidy - Control which styles are available in TinyMCE's style dropdown menu and what elements they can be applied to
Silverstripe-tinytidy - Control which styles are available in TinyMCE's style dropdown menu and what elements they can be applied to

TinyTidy for SilverStripe This module mainly serves as an example of how to customise the 'styles' dropdown menu in the TinyMCE editor to control whic

Magento 2 Extension to cleanup admin menu and Store > Configuration area by arranging third party extension items.
Magento 2 Extension to cleanup admin menu and Store Configuration area by arranging third party extension items.

Clean Admin Menu - Magento 2 Extension It will merge all 3rd party extension's menu items in backend's primary menu to a common menu item named "Exten

Provides powerful menu editor to replace category based menus in Magento 2

Magento 2 Menu Provides powerful menu editor to replace category based menus in Magento 2. Setup Create new menu in the admin area Content Elements

Luma support for Snowdog Menu for Magento 2

Seamlessly integrate the popular Snowdog Menu for Magento 2 with the Luma theme templates. No custom templates or CSS required.

Extends Yii Menu widget

Extends Yii Menu widget. This widget offers a scrollspy and affixed enhanced navigation (upto 2-levels) to highlight sections and secondary sections in each page.

Releases(1.2)
Owner
Nathan
Nathan
Html menu generator for Laravel

Html Menu Generator for Laravel This is the Laravel version of our menu package adds some extras like convenience methods for generating URLs and macr

Spatie 813 Jan 4, 2023
A TWBS menu builder for Laravel

Laravel Menu Builder A menu builder for Laravel 4-5 using Bootstrap's markup. Документация на Русском Note that this package is shipped with no styles

Alexander Kalnoy 24 Nov 29, 2022
📝 Artisan Menu - Use Artisan via an elegant console GUI

?? Artisan Menu Use Artisan via an elegant console GUI Features Run built-in and custom Artisan commands from a console GUI Prompts to enter required

Jordan Hall 149 Dec 29, 2022
Menu Library for PHP

KnpMenu The KnpMenu library provides object oriented menus for PHP. It is used by the KnpMenuBundle for Symfony but can now be used stand-alone. Insta

KNP Labs 1.3k Jan 1, 2023
📝 Artisan Menu - Use Artisan via an elegant console GUI

?? Artisan Menu Use Artisan via an elegant console GUI Features Run built-in and custom Artisan commands from a console GUI Prompts to enter required

Jordan Hall 148 Nov 29, 2022
This tool gives you the ability to set the default collapse state for Nova 4.0 menu items.

Nova Menu Collapsed This tool gives you the ability to set the default collapse state for Nova 4.0 menu items. Requirements php: >=8.0 laravel/nova: ^

Artem Stepanenko 10 Nov 17, 2022
Plugin for Filament Admin that adds a dropdown menu to the header to quickly create new items.

Filament Quick Create Plugin for Filament Admin that adds a dropdown menu to the header to quickly create new items from any page. Installation Instal

Adam Weston 45 Dec 27, 2022
MUP - Menu Up

MUP (aka: 'Menu Up') What is it? It's a bash script that generates a selection menu from a simple configuration file. Config: [Cache: Flush && Clean]

Nathan 9 Aug 19, 2020
For the super admin, replace WP Admin Bar My Sites menu with an All Sites menu.

Super Admin All Sites Menu Also available at https://wordpress.org/plugins/super-admin-all-sites-menu/ Use | Prerequisite | Install | Filters | Demo |

Per Søderlind 18 Dec 17, 2022
Menu ordering/management application demo, like Wordpress menu manager

Menu manager like Wordpress using Laravel and Nestable See demo at: http://laravel-menu-builder.gopagoda.com/admin/menu Tutorial coming up at: http://

Maksim Surguy 336 Nov 25, 2022