An extendable shell API written in Java