How did the command-line interface (CLI) come about and what was this need?

Asked

Viewed 455 times

4

If we look back about 10 years, I don’t remember having this feature for developing applications through CLI (command line interface) on Windows operating systems.

Examples used today:

Ionic CLI, Angular CLI, Cordova CLI

  • I will give my opinion, without foundation. I believe that the need was to make life easier for the developer. If we take these three examples you’ve been looking at. Imagine the amount of time that would be wasted to create the initial design structure with the angular. Having to create all standard files at hand, import all required packages, etc.

  • cool. but my question is quite different. people today use a lot of CLI. I am entering this world, but I could not find any reference to mention the emergence of this wide use of the CLI. I know we always had command line in windows, an example is DOS, which I started learning there in 95.

  • In my view, it is not a "broad use of the CLI". Cordova and Ionic are interconnected, there was the Cordova CLI, I think it was natural to come up with something for Ionic. Adding Angular there is not enough to characterize a wide use. And before those existed the git bash, account? :)

1 answer

7


He always did, only it was so natural that nobody talked about it much.

One of the reasons is the increased complexity of managing these tools. And people tend to be more productive using simple data entry. A GUI, or WUI, may be useful for improving resource discovery, but is no longer productive. This is why I always say that it is common for the current uis to be wrong and unproductive. It is possible to be productive with GUI if you know a lot what you are doing, in Web UI is much more difficult.

But the great advantage is being able to automate the execution of certain tasks when you have this, although I think a more direct API would be a better solution. Even in Devops culture becomes mandatory.

So it came out of necessity, like everything else in IT. It’s just a question of whether it’s the best solution to the problem, or a new variable in the equation that can make the problem more complex.

In the general sense you can’t even do how it came about because it’s decades, many.

I can’t imagine what Windows has to do with it. Linux and other operating systems have the same or at least similar functionality. If you are saying that Windows has no command line, has before it is Windows, always had.

Of course all this can be done via GUI or otherwise, but does not allow the same flexibility or practicality.

Particularly, although I think it’s good, I think the simplification of some things would bring such an effective result that a CLI wouldn’t even be so necessary.

Browser other questions tagged

You are not signed in. Login or sign up in order to post.