Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. The Lounge
  3. Command Line Interfaces Ought to be Disallowed

Command Line Interfaces Ought to be Disallowed

Scheduled Pinned Locked Moved The Lounge
comdesigncollaborationquestion
41 Posts 13 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • A Offline
    A Offline
    AspDotNetDev
    wrote on last edited by
    #1

    Well, unless there is a corresponding UI. From what I've read, it seems like Git is mostly used from the command line. Or maybe I'm wrong. Maybe people just prefer to use the command line versions. Maybe that's because the user interfaces are not very mature or are difficult to use?

    Thou mewling ill-breeding pignut!

    M P M L D 9 Replies Last reply
    0
    • A AspDotNetDev

      Well, unless there is a corresponding UI. From what I've read, it seems like Git is mostly used from the command line. Or maybe I'm wrong. Maybe people just prefer to use the command line versions. Maybe that's because the user interfaces are not very mature or are difficult to use?

      Thou mewling ill-breeding pignut!

      M Offline
      M Offline
      muzzdeni
      wrote on last edited by
      #2

      Real men(and woman) use the command line, that's how it was done in the past!

      A L 2 Replies Last reply
      0
      • M muzzdeni

        Real men(and woman) use the command line, that's how it was done in the past!

        A Offline
        A Offline
        AspDotNetDev
        wrote on last edited by
        #3

        Ah, then I suppose I must instead be an Übermensch. Perhaps I should start acting like real men and lower my standards.

        Thou mewling ill-breeding pignut!

        M 1 Reply Last reply
        0
        • A AspDotNetDev

          Well, unless there is a corresponding UI. From what I've read, it seems like Git is mostly used from the command line. Or maybe I'm wrong. Maybe people just prefer to use the command line versions. Maybe that's because the user interfaces are not very mature or are difficult to use?

          Thou mewling ill-breeding pignut!

          P Offline
          P Offline
          PIEBALDconsult
          wrote on last edited by
          #4

          :downvote: :downvote: :downvote: :downvote: 0) GUIs are difficult to automate.

          L A 2 Replies Last reply
          0
          • A AspDotNetDev

            Ah, then I suppose I must instead be an Übermensch. Perhaps I should start acting like real men and lower my standards.

            Thou mewling ill-breeding pignut!

            M Offline
            M Offline
            muzzdeni
            wrote on last edited by
            #5

            Yes with git the standards are lower, I prefer subversion because git can be a real pain, and slow, to use.

            1 Reply Last reply
            0
            • A AspDotNetDev

              Well, unless there is a corresponding UI. From what I've read, it seems like Git is mostly used from the command line. Or maybe I'm wrong. Maybe people just prefer to use the command line versions. Maybe that's because the user interfaces are not very mature or are difficult to use?

              Thou mewling ill-breeding pignut!

              M Offline
              M Offline
              Matthew Faithfull
              wrote on last edited by
              #6

              I disagree but only because I think the command line interface should be auto generated from the same description that generates the GUI, ensuring complete consistency and complete access to all features. The fundamental problem of command line interfaces is lack of discoverability. I can't see what my options are which also fails to prompt my memory from the last time I worked it out by trawling the docs so there's a lack of learnability to mint a new word aswell. When you add to this inconsistency because command line options are just made up to no standard and often without reference to one another you have the nightmare that is Linux/Unix/&c. However once you're an expert user who knows exactly what they want to do then being restricted to only using the functionality from one program at a time because you have open the big colourful UI and find the right menu option or widget to poke is really annoying. Especially when what you want to be able to do is tie together your mail client, favourite encryption engine and some else's database in one command and have last years emails archived with encryption to a cloud server. I've seen many Linux gurus do that sort of thing with a single command line and comment quite accurately that it would have taken half an hour on Windows if it was possible at all. Both camps are of course entirely right about the advantages of their way of doing things, entirely right about the disadvantages of doing things the other way and entirely miss the point that it shouldn't have to be an either/or choice.

              "The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)

              R P H 3 Replies Last reply
              0
              • P PIEBALDconsult

                :downvote: :downvote: :downvote: :downvote: 0) GUIs are difficult to automate.

                L Offline
                L Offline
                lewax00
                wrote on last edited by
                #7

                That's exactly why I like them. And some programs don't make sense with a GUI version, because they are utilities solely for other programs to use, not human beings (in some cases a separate executable is preferable to linking to a library, like when it's used by a program you don't have source access to).

                1 Reply Last reply
                0
                • M Matthew Faithfull

                  I disagree but only because I think the command line interface should be auto generated from the same description that generates the GUI, ensuring complete consistency and complete access to all features. The fundamental problem of command line interfaces is lack of discoverability. I can't see what my options are which also fails to prompt my memory from the last time I worked it out by trawling the docs so there's a lack of learnability to mint a new word aswell. When you add to this inconsistency because command line options are just made up to no standard and often without reference to one another you have the nightmare that is Linux/Unix/&c. However once you're an expert user who knows exactly what they want to do then being restricted to only using the functionality from one program at a time because you have open the big colourful UI and find the right menu option or widget to poke is really annoying. Especially when what you want to be able to do is tie together your mail client, favourite encryption engine and some else's database in one command and have last years emails archived with encryption to a cloud server. I've seen many Linux gurus do that sort of thing with a single command line and comment quite accurately that it would have taken half an hour on Windows if it was possible at all. Both camps are of course entirely right about the advantages of their way of doing things, entirely right about the disadvantages of doing things the other way and entirely miss the point that it shouldn't have to be an either/or choice.

                  "The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)

                  R Offline
                  R Offline
                  Ron Nicholson
                  wrote on last edited by
                  #8

                  In the past the command line was more powerful. Never really understood why but it is still that way in windows. There are things you can do from the command line that windows doesn't have a gui. Although I suppose the gap is getting smaller and smaller. One day even programming won't be typing. It'll all be drag and drop, by finger, probably. :-D And there is always the automation part. I don't really want to write a program to change a registry setting each time I boot. Much easier to script it out, but then I'm not your normal user.

                  M 1 Reply Last reply
                  0
                  • R Ron Nicholson

                    In the past the command line was more powerful. Never really understood why but it is still that way in windows. There are things you can do from the command line that windows doesn't have a gui. Although I suppose the gap is getting smaller and smaller. One day even programming won't be typing. It'll all be drag and drop, by finger, probably. :-D And there is always the automation part. I don't really want to write a program to change a registry setting each time I boot. Much easier to script it out, but then I'm not your normal user.

                    M Offline
                    M Offline
                    Matthew Faithfull
                    wrote on last edited by
                    #9

                    Raeldin wrote:

                    There are things you can do from the command line that windows doesn't have a gui.

                    Yes and that can be a problem although not so much on Windows. Up until about 18 months ago there were major supposedly 'desktop' versions of Linux supposedly targetted at the ordinary user where it was impossible to connect to a network much less the internet without hacking text files from the command line, not because they hadn't put in the time, not because they didn't know how to do it, not because it was an oversite ( most desktop toolbars had a network connection status widget just nowhere to enter an ip address or tick a box for DHCP ) but basically because connecting to a network was considered by the developers to be too much dangerous power to give to the kind of people who use GUIs. 'Don't let them loose with that they'll only screw it up'. This is the sort of attitude that's meant Linux has failed to make a serious impact on the desktop despite all the open goals left by Microsoft. I've never suggested that the command line should be taken away from anyone who wants to use it just that proper user interfaces that fully expose the functionality of the software should be normal and expected. The best way I can see of achieving that would be a kind of sane form of XAML that generates both at once. I haven't written it yet but I know how it should work should anyone get the urge. :-D

                    "The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)

                    1 Reply Last reply
                    0
                    • P PIEBALDconsult

                      :downvote: :downvote: :downvote: :downvote: 0) GUIs are difficult to automate.

                      A Offline
                      A Offline
                      AspDotNetDev
                      wrote on last edited by
                      #10

                      Then provide a command line in addition to the GUI. But the GUI should be required. I suppose I should have titled this "GUIs Ought to Be Required".

                      Thou mewling ill-breeding pignut!

                      P 1 Reply Last reply
                      0
                      • A AspDotNetDev

                        Well, unless there is a corresponding UI. From what I've read, it seems like Git is mostly used from the command line. Or maybe I'm wrong. Maybe people just prefer to use the command line versions. Maybe that's because the user interfaces are not very mature or are difficult to use?

                        Thou mewling ill-breeding pignut!

                        L Offline
                        L Offline
                        loctrice
                        wrote on last edited by
                        #11

                        look at smart git

                        If it moves, compile it

                        A 1 Reply Last reply
                        0
                        • A AspDotNetDev

                          Then provide a command line in addition to the GUI. But the GUI should be required. I suppose I should have titled this "GUIs Ought to Be Required".

                          Thou mewling ill-breeding pignut!

                          P Offline
                          P Offline
                          PIEBALDconsult
                          wrote on last edited by
                          #12

                          :downvote: Heck no. Sure, having both is usually preferred, but some tasks just don't lend themselves to a GUI. While an IDE makes sense, would you want a GUI for a compiler/make/build utility? What benefit would a GUI give to a Ping utility? Or a sort utility? Would you merely wind up with a text app in a window? What's gained by that? Likwise, some tasks aren't suited to a command/textual interface -- image editing comes to mind. Ideally an application provides an API and any number of clients/interfaces can be produced. Not that I generally follow that advice. :sigh: Use the right tool for the right job.

                          A 1 Reply Last reply
                          0
                          • A AspDotNetDev

                            Well, unless there is a corresponding UI. From what I've read, it seems like Git is mostly used from the command line. Or maybe I'm wrong. Maybe people just prefer to use the command line versions. Maybe that's because the user interfaces are not very mature or are difficult to use?

                            Thou mewling ill-breeding pignut!

                            D Offline
                            D Offline
                            Dave Kreskowiak
                            wrote on last edited by
                            #13

                            Wow. Considering Windows Server can be installed wihtout a GUI at all and current/future offerings are being managed more and more from the command line, it seems you're going in the wrong direction!

                            A guide to posting questions on CodeProject[^]
                            Dave Kreskowiak

                            A 1 Reply Last reply
                            0
                            • M Matthew Faithfull

                              I disagree but only because I think the command line interface should be auto generated from the same description that generates the GUI, ensuring complete consistency and complete access to all features. The fundamental problem of command line interfaces is lack of discoverability. I can't see what my options are which also fails to prompt my memory from the last time I worked it out by trawling the docs so there's a lack of learnability to mint a new word aswell. When you add to this inconsistency because command line options are just made up to no standard and often without reference to one another you have the nightmare that is Linux/Unix/&c. However once you're an expert user who knows exactly what they want to do then being restricted to only using the functionality from one program at a time because you have open the big colourful UI and find the right menu option or widget to poke is really annoying. Especially when what you want to be able to do is tie together your mail client, favourite encryption engine and some else's database in one command and have last years emails archived with encryption to a cloud server. I've seen many Linux gurus do that sort of thing with a single command line and comment quite accurately that it would have taken half an hour on Windows if it was possible at all. Both camps are of course entirely right about the advantages of their way of doing things, entirely right about the disadvantages of doing things the other way and entirely miss the point that it shouldn't have to be an either/or choice.

                              "The secret of happiness is freedom, and the secret of freedom, courage." Thucydides (B.C. 460-400)

                              P Offline
                              P Offline
                              PIEBALDconsult
                              wrote on last edited by
                              #14

                              Matthew Faithfull wrote:

                              lack of discoverability

                              Same with Office and the Ribbon. X|

                              1 Reply Last reply
                              0
                              • A AspDotNetDev

                                Well, unless there is a corresponding UI. From what I've read, it seems like Git is mostly used from the command line. Or maybe I'm wrong. Maybe people just prefer to use the command line versions. Maybe that's because the user interfaces are not very mature or are difficult to use?

                                Thou mewling ill-breeding pignut!

                                C Offline
                                C Offline
                                CdnSecurityEngineer
                                wrote on last edited by
                                #15

                                Your statement that command line interfaces should be disallowed shows that you're either very new to the computing industry or very ignorant. User interfaces are slow, memory hogs, and if you don't really need them then why use them? Consider a server sitting on a rack somewhere, what reason would I ever have to hook a keyboard and monitor up to that? If I can configure everything through the command line and manage the server from the command line, I can save memory which can be used for servicing more requests and therefore processing power. Having been a user & then an engineer whom grew up with Windows 3.1 and later. I really missed out on the Windows Dos world. However even in Windows I still do 80% of everything I need from the command line. Sometimes I even surf the net from the command line! Why, 1: It's faster 2: Cuts down on all the garbage. I might write code (In Windows in Visual Studio). However I do all the compiling and building of the code from the cmd line. I only really use the GUI (IDE) in the sense when I actually need to really debug something, then again I hope I've written my code well enough to spit out meaningful error messages via logging. I've seen some pretty disastrous GUI's so next are you going to say only Good looking GUI's should be allowed? And if so, by who's standard are you going to judge that. I am sorry that you're having difficulty with a command line client. I love the command line it lets me automate tasks, where I find things with the command line difficult or repetitive I write a batch file to make my life easier. I would suggest to you that you could actually improve your productivity if you learned to embrace the command line. I am not even going to get into how wonderful the command line is in Unix. That just goes without saying.

                                A 1 Reply Last reply
                                0
                                • C CdnSecurityEngineer

                                  Your statement that command line interfaces should be disallowed shows that you're either very new to the computing industry or very ignorant. User interfaces are slow, memory hogs, and if you don't really need them then why use them? Consider a server sitting on a rack somewhere, what reason would I ever have to hook a keyboard and monitor up to that? If I can configure everything through the command line and manage the server from the command line, I can save memory which can be used for servicing more requests and therefore processing power. Having been a user & then an engineer whom grew up with Windows 3.1 and later. I really missed out on the Windows Dos world. However even in Windows I still do 80% of everything I need from the command line. Sometimes I even surf the net from the command line! Why, 1: It's faster 2: Cuts down on all the garbage. I might write code (In Windows in Visual Studio). However I do all the compiling and building of the code from the cmd line. I only really use the GUI (IDE) in the sense when I actually need to really debug something, then again I hope I've written my code well enough to spit out meaningful error messages via logging. I've seen some pretty disastrous GUI's so next are you going to say only Good looking GUI's should be allowed? And if so, by who's standard are you going to judge that. I am sorry that you're having difficulty with a command line client. I love the command line it lets me automate tasks, where I find things with the command line difficult or repetitive I write a batch file to make my life easier. I would suggest to you that you could actually improve your productivity if you learned to embrace the command line. I am not even going to get into how wonderful the command line is in Unix. That just goes without saying.

                                  A Offline
                                  A Offline
                                  AspDotNetDev
                                  wrote on last edited by
                                  #16

                                  Command lines should be for advanced scenarios. I should be able to use an application from a GUI and then use a command line if I actually need to automate anything or reduce the memory footprint (my computer has 16GB of RAM, so I'm not too concerned with my footprint).

                                  Thou mewling ill-breeding pignut!

                                  C 1 Reply Last reply
                                  0
                                  • D Dave Kreskowiak

                                    Wow. Considering Windows Server can be installed wihtout a GUI at all and current/future offerings are being managed more and more from the command line, it seems you're going in the wrong direction!

                                    A guide to posting questions on CodeProject[^]
                                    Dave Kreskowiak

                                    A Offline
                                    A Offline
                                    AspDotNetDev
                                    wrote on last edited by
                                    #17

                                    Yeah, I'm sure I'll be using PowerShell if I ever get my company to put our websites on Azure. But that's for advanced scenarios... for basic usage, GUIs are superior to command lines.

                                    Thou mewling ill-breeding pignut!

                                    P D 2 Replies Last reply
                                    0
                                    • L loctrice

                                      look at smart git

                                      If it moves, compile it

                                      A Offline
                                      A Offline
                                      AspDotNetDev
                                      wrote on last edited by
                                      #18

                                      Looks promising. I like SmartSVN, and this looks similar. Maybe people just use command lines because they don't want to pay for a GUI?

                                      Thou mewling ill-breeding pignut!

                                      L 1 Reply Last reply
                                      0
                                      • A AspDotNetDev

                                        Command lines should be for advanced scenarios. I should be able to use an application from a GUI and then use a command line if I actually need to automate anything or reduce the memory footprint (my computer has 16GB of RAM, so I'm not too concerned with my footprint).

                                        Thou mewling ill-breeding pignut!

                                        C Offline
                                        C Offline
                                        CdnSecurityEngineer
                                        wrote on last edited by
                                        #19

                                        Consider the situation of searching for a simple file. Suppose you have a file where you know the name contains "ClientData" and you know it's an XML file. But you're not sure where it's saved or where all it's saved, or even better you want to find some Browser cookies. Regardless of how much ram you have, it's still a lot quicker to open a command line, and type dir /s ClientData.xml Or if you had some wild cards because you weren't exactly sure of the namming dir /s *Client*.xml Then it is to do a windows file search using the GUI.

                                        A P H 3 Replies Last reply
                                        0
                                        • A AspDotNetDev

                                          Yeah, I'm sure I'll be using PowerShell if I ever get my company to put our websites on Azure. But that's for advanced scenarios... for basic usage, GUIs are superior to command lines.

                                          Thou mewling ill-breeding pignut!

                                          P Offline
                                          P Offline
                                          PIEBALDconsult
                                          wrote on last edited by
                                          #20

                                          AspDotNetDev wrote:

                                          for basic usage, GUIs are superior to command lines.

                                          No, they're not. But then I was raised on a real operating system, with a terminus, without even copy/paste.

                                          1 Reply Last reply
                                          0
                                          Reply
                                          • Reply as topic
                                          Log in to reply
                                          • Oldest to Newest
                                          • Newest to Oldest
                                          • Most Votes


                                          • Login

                                          • Don't have an account? Register

                                          • Login or register to search.
                                          • First post
                                            Last post
                                          0
                                          • Categories
                                          • Recent
                                          • Tags
                                          • Popular
                                          • World
                                          • Users
                                          • Groups