I cannot judge without more context. Depending on the one liner, the problem at hand, and overall situation that can be justified. A CLI is straightforward to create.
A bash oneliner can be a chain of 5+ programs, each buffering the stdin/out, what if the CLI is doing the same operation via streams instead? Just a random example but that can easily be worth it
Sure, then there's a point where the extra taste isn't worth its cost.
I just don't like the fictional straw man where an expert has somehow been brainwashed by AI into forgetting everything they ever knew.