Getting cli working