command line interface (CLI)

Question about which tools to use, bugs, the best way to implement a function, etc should go here. Don't forget to see if your question is answered in the wiki first! When in doubt post here.
Post Reply
User avatar
i586coder
Member
Member
Posts: 143
Joined: Sat Sep 20, 2008 6:43 am

command line interface (CLI)

Post by i586coder »

Best of your knowledge, what is the best CLI user friendly

-UNIX
-DOS
-others


I developed CLI for my UNEXT/os,it's look like mix of UNIX & DOS
but most people don't know any thing about UNIX :?

this is sample for my CLI

Code: Select all

 UNEXT/os v7.1 (c)2008 by Ahmad T. Dajani

 root/floppya/> dir *.com | more
what you think :?:

Cheers,
Ahmad T. Dajani
Distance doesn't make you any smaller,
but it does make you part of a larger picture.
User avatar
Brendan
Member
Member
Posts: 8561
Joined: Sat Jan 15, 2005 12:00 am
Location: At his keyboard!
Contact:

Re: command line interface (CLI)

Post by Brendan »

Hi,
AhmadTayseerDajani wrote:Best of your knowledge, what is the best CLI user friendly
To the best of my knowledge, the most user friendly CLI is also the least powerful CLI, because extra features that make a CLI more powerful also make the CLI more complex and more confusing.

If people want something user friendly, then they'll use a GUI. If people want something powerful, then a powerful CLI (e.g. something that's more like an interactive interpreted language) can be a very good choice. A user friendly CLI is useless (unless there is no GUI, but in that case anything is better than nothing).


Cheers,

Brendan
For all things; perfection is, and will always remain, impossible to achieve in practice. However; by striving for perfection we create things that are as perfect as practically possible. Let the pursuit of perfection be our guide.
User avatar
i586coder
Member
Member
Posts: 143
Joined: Sat Sep 20, 2008 6:43 am

Re: command line interface (CLI)

Post by i586coder »

Brendan wrote: If people want something user friendly, then they'll use a GUI
you right, but CLI still need's for any OS to work with low level
operations like device errors etc. that crash GUI

for example:
my kernel use default values in root/system/mouse.ini
to setup mouse, the default mouse driver is ms-serial,suppose you are
using ps/2,in this case GUI will work but mouse will not present,so
you need to exit GUI and back to CLI to change mouse valuse #-o

ThankX
Distance doesn't make you any smaller,
but it does make you part of a larger picture.
User avatar
Combuster
Member
Member
Posts: 9301
Joined: Wed Oct 18, 2006 3:45 am
Libera.chat IRC: [com]buster
Location: On the balcony, where I can actually keep 1½m distance
Contact:

Re: command line interface (CLI)

Post by Combuster »

IMO command line interfaces are *never* user-friendly. They are just more or less powerful.
"Certainly avoid yourself. He is a newbie and might not realize it. You'll hate his code deeply a few years down the road." - Sortie
[ My OS ] [ VDisk/SFS ]
User avatar
Walling
Member
Member
Posts: 158
Joined: Mon Dec 04, 2006 6:06 am
Location: Berlin, Germany

Re: command line interface (CLI)

Post by Walling »

I think user-friendliness is determined by the ones using the software. I would expect mostly power users to be using a CLI and they might like to do a lot of things in a few commands. But you can help new users a lot. I think Python is nice because it has a lot of inline help functions and runtime documentation. It is a programming language, yes, but who said that a CLI shouldn't offer that? And bash wouldn't be the same without man pages. Another thing is auto-completion. If it can be done right I think it can be very powerful. Maybe the CLI can collect usage statistics and knows that a pipe after "dir" usually goes to "more" and not "grep", so it can suggest that. Again it requires some research for you to really understand how your users (would) use the software and what can be optimized. The command names in itself is a minor detail of user-friendliness IMHO. It can be learned. But maybe you should add a way to make command aliases, so the users are able to rename the commands. I think power users like to be able to configure things. That said, the default configuration should be somewhat sensible to new users.
Post Reply