cursor
survey
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.
cursor
- Cursor: A cross-platform library to move the terminal cursor and create interactive CLIs
-
How do I move the terminal cursor cross-platform?
Hi, thanks for the suggestion. Goterm had some issues when I used it. I made my own library now, which just adds the functionality for cursor movement: https://github.com/atomicgo/cursor I found that go-ansi had some good ANSI to windows syscalls functions which I used now.
survey
-
Goget: An interactive go module downloader | Looking for contributors | Level: Super Easy
The dropdown is made with https://github.com/AlecAivazis/survey
- Is there a terminal based "dialog" library?
-
Console application with menus
If you want something a little more advanced, check out survey
-
Recursively clone Gitlab Projects - Practice Project
Rather than get too far into the weeds with building a query through that library, it was ok to just query for every repo in the org and use https://github.com/AlecAivazis/survey to let the user filter at the command line. Might or might not be an idea to play with - it was _fun_ to see a couple of strong open source efforts play together /shrug :)
-
Interactive CLI prompts in Go
To create an interactive multi-select prompt we're going to use an awesome survey package:
-
Survey library
I'm coming from the go world, where I loved the survey library. I was wondering, whether rust has a similar one.
-
How do I move the terminal cursor cross-platform?
I am looking for a way to move the terminal cursor in different directions. (like Up(n), Left(n), Right(n), etc.) I could do this with ANSI escape codes, but Windows CMD doesn't handle that well. Unfortunately, I can't find a library that runs well on Windows and Linux. Survey does handle that pretty good, for their interactive CLI functions like dropdowns etc. but I don't want to "steal" their code. Also, their implementation is very customized to fit to the project, which makes it hard to isolate the code for moving the cursor. Does anybody know a light way to do this? (I would also happily take a library suggestion!) Thanks in advance!
-
Kure - CLI password manager
Thank you so much! The library is called Survey (which uses a package called terminal). It also allows you to use 'hjkl' like Vim.
What are some alternatives?
wtf - The personal information dashboard for your terminal
promptui - Interactive prompt for command-line applications
minquery - MongoDB / mgo query that supports efficient pagination (cursors to continue listing documents where we left off).
cobra - A Commander for modern Go CLI interactions
goterm - Advanced terminal output in Go
promptui.
keyboard - ⌨️ Read keyboard events in your terminal applications! (Arrow keys, Home, End, etc.)
prompter - golang utility for easy prompting
slack-term - Slack client for your terminal
interactive-cli-prompts - Code for “Interactive CLI prompts in Go” blog post.
pterm - ✨ #PTerm is a modern Go module to easily beautify console output. Featuring charts, progressbars, tables, trees, text input, select menus and much more 🚀 It's completely configurable and 100% cross-platform compatible.
memguard - Secure software enclave for storage of sensitive information in memory.