If computer science students are unwilling to learn something, then fail them. End of story.
What if they don't have the memory for a CLI? What if they're dyslexic? What if those people love computers and want to write software?
You know the great thing about GUIs? They spend a lot of effort being accessible to everybody. They have tons of features to help those with disabilities, no matter how minor or severe. They have a handy "Undo" function so minor screwups don't become major disasters.
It's grossly unfair to fail someone because they can't easily use a particular interface, when the job can be done equally-well using another interface. If you're teaching programming, teach programming... don't fail your students because they can't use a particular UI. If the student can complete the assignment perfectly using an IDE (with its accessibility features), but can't wrap their head around the CLI-- well, what's wrong with that? They completed the assignment!
Should we refrain from teaching the multiplication table because we have calculators now to do it for us?
Yes. ...oh were you looking for a "no" there? Because the answer is obviously "yes". Sorry.
Any CS graduate who hasn't worked with the CLI during his/her studies is simply not worth hiring and indeed should not be permitted to graduate.
Discrimination is wrong. That is what you're proposing. That's really what everybody in this thread talking-up the CLI is proposing.