Adding example for console

@askeing @zapion Could you help to check this, thanks