Find file History
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
..
Failed to load latest commit information.
default
docker
modules
nested
network
topten
vagrant
README.md

README.md

Examples of menus

Hotshell's hotshell

Used to develop, build and test Hotshell.

H='raw.githubusercontent.com/julienmoumne/hotshell/master/hs.js'; T=`mktemp`; wget $H -qO $T && hs -f $T; rm $T

Hotshell's default menu

This menu is loaded when no definition file is found.

H='raw.githubusercontent.com/julienmoumne/hotshell/master/examples/default/default.hs.js'; T=`mktemp`; wget $H -qO $T && hs -f $T; rm $T

Docker, Docker Compose & Docker Machine

Menus with useful Docker commands.

# docker
H='raw.githubusercontent.com/julienmoumne/hotshell/master/examples/docker/docker.hs.js'; T=`mktemp`; wget $H -qO $T && hs -f $T; rm $T

# docker-machine
H='raw.githubusercontent.com/julienmoumne/hotshell/master/examples/docker/docker-machine.hs.js'; T=`mktemp`; wget $H -qO $T && hs -f $T; rm $T

# docker-compose
cd $DOCKER_COMPOSE_PROJECT
H='raw.githubusercontent.com/julienmoumne/hotshell/master/examples/docker/docker-compose.hs.js'; T=`mktemp`; wget $H -qO $T && hs -f $T; rm $T

Vagrant

Menus with useful Vagrant commands.

cd $VAGRANT_PROJECT
H='raw.githubusercontent.com/julienmoumne/hotshell/master/examples/vagrant/vagrant.hs.js'; T=`mktemp`; wget $H -qO $T && hs -f $T; rm $T

Topten

Dynamically creates a menu with the 10 most used commands.

H='raw.githubusercontent.com/julienmoumne/hotshell/master/examples/topten/topten.hs.js'; T=`mktemp`; wget $H -qO $T && hs -f $T; rm $T

Network

A menu to manage 'eth0' and 'wlan0'. Showcases the ability to factor out groups of commands.

H='raw.githubusercontent.com/julienmoumne/hotshell/master/examples/network/network.hs.js'; T=`mktemp`; wget $H -qO $T && hs -f $T; rm $T

Modules

Showcases the ability to modularize menu definitions.

Nested Hotshells

Showcases the ability to call Hotshell within Hotshell.