CLI vs GUI: Make Command Line Easier with Completion

tanut aran
2 min readAug 28, 2020

--

Frankly, Command Line first looks mysterious and make you looks like a pro.

But when you spend more time living in the Terminal. It’s not that fun and easy

Let’s take running docker as an example.

GUI goodness: Multiple way to get it right

Any click in the region will do the jobs.

Any miss doesn’t seem to break anything. Everything can be seen.

CLI badness: Only one way to get it right

One typos break everything.

One way to get it right. Anything else break this.

$ dcoker ps
// WRONG !!

Solution: Completion

By installing some predefined completion list.

With the TAB you can now

  1. show available command
  2. select that command

Let’s do it with docker example again. Download file here.

Now this will show what you can do like the GUI

More interesting it will complete docker run ... with the correct input into the ... and this is the most important things !

More .. about the options

Hope this help bring more happy time in the Terminal.

TGIF and cheers.

Web Application | IoT

codemonday.com

--

--

tanut aran
tanut aran

Written by tanut aran

Co-founder and Coder at work !

No responses yet