Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add readline support to cli #107

Open
1 of 2 tasks
gustavodemorais opened this issue Jun 3, 2019 · 3 comments
Open
1 of 2 tasks

Add readline support to cli #107

gustavodemorais opened this issue Jun 3, 2019 · 3 comments
Assignees
Labels
enhancement New feature or request GSOC-2019

Comments

@gustavodemorais
Copy link
Contributor

gustavodemorais commented Jun 3, 2019

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

@gustavodemorais gustavodemorais self-assigned this Jun 3, 2019
@gustavodemorais gustavodemorais added enhancement New feature or request GSOC-2019 labels Jun 3, 2019
@thrishik7
Copy link

I would love to work on this

@gustavodemorais
Copy link
Contributor Author

Please open a PR with your solution and metion this issue :)

@vedangj044
Copy link
Contributor

This feature can be implemented by using cmd library
I tried it and it works well. here I have attached a screenshot of the same.

It supports the arrow key gestures and I have used it on Linux and windows.

vedang@vedang: ~_178

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request GSOC-2019
Projects
None yet
Development

No branches or pull requests

3 participants