Building an open-source command line user interface

Wut

A Command Line User Interface (CLUI) is basically a CLI and a GUI that got mashed together in an incredibly intuitive way. You may have seen it on Replit, which created a practical and scalable CLUI that integrates with their website and…


This content originally appeared on DEV Community and was authored by Nathan Pham

Wut

A Command Line User Interface (CLUI) is basically a CLI and a GUI that got mashed together in an incredibly intuitive way. You may have seen it on Replit, which created a practical and scalable CLUI that integrates with their website and online code editor. I thought it would be fantastic exercise to try and recreate a similar effect myself, so here we are!

Demos

Replit's CLUI (you need an account)
My CLUI

Even though the code quality is absolute garbage (I completely abused emotion's css library), this project is available on Github.

Screenshots

Entering a command
Completing a command

Next Steps

Here's a few more features I'm planning to improve the CLUI:

  • you should be able to type parameters in
  • more commands and utilities
  • refactor (will probably never happen)


This content originally appeared on DEV Community and was authored by Nathan Pham


Print Share Comment Cite Upload Translate Updates
APA

Nathan Pham | Sciencx (2022-01-30T22:20:14+00:00) Building an open-source command line user interface. Retrieved from https://www.scien.cx/2022/01/30/building-an-open-source-command-line-user-interface/

MLA
" » Building an open-source command line user interface." Nathan Pham | Sciencx - Sunday January 30, 2022, https://www.scien.cx/2022/01/30/building-an-open-source-command-line-user-interface/
HARVARD
Nathan Pham | Sciencx Sunday January 30, 2022 » Building an open-source command line user interface., viewed ,<https://www.scien.cx/2022/01/30/building-an-open-source-command-line-user-interface/>
VANCOUVER
Nathan Pham | Sciencx - » Building an open-source command line user interface. [Internet]. [Accessed ]. Available from: https://www.scien.cx/2022/01/30/building-an-open-source-command-line-user-interface/
CHICAGO
" » Building an open-source command line user interface." Nathan Pham | Sciencx - Accessed . https://www.scien.cx/2022/01/30/building-an-open-source-command-line-user-interface/
IEEE
" » Building an open-source command line user interface." Nathan Pham | Sciencx [Online]. Available: https://www.scien.cx/2022/01/30/building-an-open-source-command-line-user-interface/. [Accessed: ]
rf:citation
» Building an open-source command line user interface | Nathan Pham | Sciencx | https://www.scien.cx/2022/01/30/building-an-open-source-command-line-user-interface/ |

Please log in to upload a file.




There are no updates yet.
Click the Upload button above to add an update.

You must be logged in to translate posts. Please log in or register.