Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • Home
  • SEARCH
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 540161
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T10:12:41+00:00 2026-05-13T10:12:41+00:00

I am in the process of building interactive front-ends to a distributed application which

  • 0

I am in the process of building interactive front-ends to a
distributed application which to date has been used to run workloads
that had a batch-job like structures and needed no UI at all. The application is mostly written in Perl and C and runs on a mix of Unix and Windows machines, but I think this isn’t relevant to the UI.

The first such frontend is going have a command-line user interface —
currently, I envision something similar to the CLIs of the Procurve
switches and Cisco routers that I have worked with.

Like modern network gear CLIs, commands are going to resemble
simple sentences, (i.e. show vlans ports 1-4) and the CLI will
have some implicit state, much in the way that Unix shells and
cmd.exe in Windows have environment variables and current working
directories. Moreover, I’d like to implement great tab completion that
is aware of the application’s state as much as possible and I want to be able to do that with as
little application-specific code as possible.

The low-level functionality (terminal I/O) seems easy to implement on
top of GNU Readline or similar libraries, but that’s only where the
real fun starts. So far I have looked at the Perl modules
Term::Shell
and
Term::ShellUI,
but I’m not convinced that I want to use either of them. I am still
considering rolling my own solution and at the moment I am primarily looking for
inspiration.

Can you recommend any application or library, regardless of
implementation language, that implements a good CLI from which I can
borrow ideas?

  • 1 1 Answer
  • 1 View
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T10:12:41+00:00Added an answer on May 13, 2026 at 10:12 am

    You could try having a look at libcli :

    “Libcli provides a shared library for
    including a Cisco-like command-line
    interface into other software.”

    http://code.google.com/p/libcli/

    BTW – I forgot to mention that it is GNU Lesser GPL and actually used by Cisco in some products.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I'm in the process building a web application which is has a potential to
I am in the process of building a rails/flex application which requires audio to
All, I'm in the process of building a web application (C#, MVC3 Razor) which
Hi We are in process of building new application which will have .Net UI
We're in the process of building an internal, Java-based RESTful web services application that
I am in the process of building a PHP/MySql database application which could have
I'm in the process of building a WPF application and ran into an error
I'm in the process of building a support page for my pre application. I'm
I am in the process of building an mobile/web application. I want to use
We are in the process of building a new website which we want to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.