TF
AutoHotkey library for Text files & Variables (strings) (by hi5)
promptui
Interactive prompt for command-line applications (by manifoldco)
TF | promptui | |
---|---|---|
3 | 9 | |
143 | 6,203 | |
0.0% | 0.6% | |
10.0 | 0.0 | |
over 4 years ago | 9 months ago | |
AutoHotkey | Go | |
GNU General Public License v3.0 only | BSD 3-clause "New" or "Revised" License |
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
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.
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.
TF
Posts with mentions or reviews of TF.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2022-08-08.
-
Difficulty generating user.ahk.api file for lib function autocomplete in SciTE
`; Written by XeroByte` `; Generates the User.ahk.api file to add custom function & label intellisense!` `; to initate: use BuildUserAhkApi(A_ScriptFullPath,1) from the main script` `; Requires: grep() by Titan/Polyethelene` [`https://github.com/camerb/AHKs/blob/master/thirdParty/titan/grep.ahk`](https://github.com/camerb/AHKs/blob/master/thirdParty/titan/grep.ahk) `; Reqiures: isDir() Function` `; Optionally include TF_Wrap() from the TF Library` [`https://github.com/hi5/TF/blob/master/tf.ahk`](https://github.com/hi5/TF/blob/master/tf.ahk) `TF_Wrap := "TF_Wrap" ; This is for a workaround to make the script still work even without the TF library - need to call the function dynamically.` `if(isDir(AhkScriptPath)){` `Loop, %AhkScriptPath%\*.ahk,0,1` `AhkApiText .= BuildUserAhkApi(A_LoopFileLongPath, 0, RecurseIncludes, Labels, WrapWidth, AhkApiPath, 1)` `}else{` `FileRead, ThisScriptTxt, %AhkScriptPath%` `; Retrieve Functions` `grep(ThisScriptTxt, "m)^\s*[a-zA-Z0-9_-]*\([^\)]*\)\s*\{(\s*;.*?$)*", MatchCollection,1,0,"§")` `loop, parse, MatchCollection, §` `{`
- Does file append/copy/write require admin privilege's? Am I doing something wrong?
-
How do i include libraries in compiled scripts?
i am using tf (https://github.com/hi5/TF). Its a text editing library.
promptui
Posts with mentions or reviews of promptui.
We have used some of these posts to build our list of alternatives
and similar projects. The last one was on 2024-06-14.
-
Nested Prompts in Go using promptui
I was working on a CLI tool written in Go, using the Cobra tool recently, and I had a use case where I needed a nested prompt for one of the commands. I was using promptui for the prompts and I couldn't find a straightforward way to do this. This short post will show how to create a nested prompt using promptui. The completed code can be found here.
-
...and now gh-i to search for issues interactively!
The navigation is dealt with by the promptui framework, so in this respect the extension does not touch/re-defines it. This said, let's move the conversation on GitHub, I am sure we can find a way to make it work :)
- Best interactive cli library?
-
Interactive CLI prompts in Go
View on GitHub
-
Hey guys, why is the character ‘w’ missing?
The fmt.Scan family of functions exist because there are similar functions in C, but they really aren't suitable for any purpose. I would recommend beginners to just avoid them completely because the way they work is endlessly surprising. In this case, the problem you're running into is that Scanln expects a line, but you had a space instead, but honestly, don't try to debug it, just switch to https://github.com/manifoldco/promptui.
-
Building an interactive CLI app with Go, Cobra & promptui
This tutorial will guide us through building an interactive CLI app with Go, Cobra and promptui. We will learn how to prompt the user for input data and persist this data to an SQLite database. Unlike the previous app we built, this experience will feel more like a two way conversation.
-
Tf - A CLI to generate terraform configuration with an interactive prompt
I got into cli applications lately and came across cobra. It was highly intuitive and very much easy to use so I couldn't get enough of it and wanted to create something to make it useful along with promptui.
-
I wanted many SSH logins to be always close at hand, so I made a tool for connecting in just a few keystrokes
It uses this library to create an interactive prompt. Just use the up and down arrows to select the host you want.
- How Does This Cli Tool Accomplish Interactivity
What are some alternatives?
When comparing TF and promptui you can also consider the following projects:
AHKs - My AHK library
survey - A golang library for building interactive and accessible prompts with full support for windows and posix terminals.
awsrm - A remove command for AWS resources
prompter - golang utility for easy prompting