What for? there's already Gemini CLI (https://github.com/google-gemini/gemini-cli) for that, unless I'm missing some crucial feature not supported by that.