Why do you say it's a terrible idea?
I'd say it's a pretty common idea today to ask chatGPT for help in complicated commands. Putting it in the shell directly is smart and helpful.
Maybe the implementations has some flaws (it seems quite unsafe), but the idea is rather good in my opinion.