Git Product home page Git Product logo

intro-to-cli-applications's Introduction

Intro to CLI Applications

An Introduction to Command Line Interface Applications

Command Line Applications (aka CLI applications or simply CLIs - for Command Line Interface) are programs that you interact with entirely through your terminal and shell. They have no graphics or visual interface beyond what you see in your terminal after you run the program. They don't have drop-down navigations for you to browse or anything at all for you to click on. They can only communicate to the user through ASCII output and only accept input from the user via ASCII characters entered into a prompt.

For example:

<iframe width="1280" height="720" src="https://www.youtube.com/embed/mfcT5AFTadg?rel=0&showinfo=0&html5=1" frameborder="0" allowfullscreen></iframe>

As you can see, a CLI application has a seemingly crude interface that implies limited potential and functionality for the end user. The truth is that CLI applications birthed the software revolution.

"Write programs to handle text streams, because that is a universal interface.โ€ Douglas McIlroy, creator of UNIX Operating System

Their simple interface and constrained features actually allowed people totally unfamiliar with computers or programming to interact with a machine. We wouldn't be where we are today without CLI applications.

As a developer, some of the most powerful tools you use are CLI applications. git is a CLI application. learn is a CLI application. The ruby interpreter is presented as a CLI application and interface.

Get excited about building CLI applications. They seem trivial and probably won't impress your friends, but they are the foundations of software and your first step in your journey to change the world through code. In the next few sections, we'll learn a few things about programming best practices that will help you write great CLI applications.

View Intro to CLI Applications on Learn.co and start learning to code for free.

intro-to-cli-applications's People

Contributors

gj avatar annjohn avatar aviflombaum avatar

Stargazers

Ahmed M. Shaiea avatar

Watchers

James Cloos avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.