Add some CLI functionality.