Your Web News in One Place

Help Webnuz

Referal links:

Sign up for GreenGeeks web hosting
January 30, 2022 10:20 pm GMT

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 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)

Original Link: https://dev.to/phamn23/building-an-open-source-command-line-user-interface-345a

Share this article:    Share on Facebook
View Full Article

Dev To

An online community for sharing and discovering great ideas, having debates, and making friends

More About this Source Visit Dev To