Skip to content

Add readline support to cli #107

@gustavodemorais

Description

@gustavodemorais

I'm submitting a

  • bug report.
  • feature request.

Current Behaviour:

Currently, you cannot use arrow keys and navigate the input with the CLI, navigate previous commands and other basic CLI actions:
image

Expected Behaviour:

Use it like any other CLI

This needs some cross-OS testing after importing readline because the dependency to install is a bit different in each OS. Saving some links:

Linux -> Comes by default https://docs.python.org/3/library/readline.html
Windows -> https://github.com/pyreadline/pyreadline
Mac -> https://github.com/ludwigschwardt/python-gnureadline

Do you want to work on this issue?

Yes

Metadata

Metadata

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions