All Projects → rohankapoor → Autoprompt

rohankapoor / Autoprompt

Licence: apache-2.0
Auto complete command prompts for C# .Net console apps

Programming Languages

csharp
926 projects

Projects that are alternatives of or similar to Autoprompt

CLI-Autocomplete
Cross-platform flexible autocomplete library for your CLI applications.
Stars: ✭ 21 (-4.55%)
Mutual labels:  console, autocomplete, autocompletion
Modernsearchbar
The famous iOS search bar with auto completion feature implemented.
Stars: ✭ 167 (+659.09%)
Mutual labels:  autocomplete, autocompletion
Vim You Autocorrect
Why should smartphones get all the fun?
Stars: ✭ 173 (+686.36%)
Mutual labels:  autocomplete, autocompletion
zsh-yarn-completions
Yarn completions for Z-shell that supports yarn workspaces
Stars: ✭ 35 (+59.09%)
Mutual labels:  autocomplete, autocompletion
Ide Stubs
Phalcon IDE Stubs
Stars: ✭ 137 (+522.73%)
Mutual labels:  autocomplete, autocompletion
vscode-allautocomplete
Autocomplete from open files for VSCode
Stars: ✭ 90 (+309.09%)
Mutual labels:  autocomplete, autocompletion
Crossline
A small, self-contained, zero-config, MIT licensed, cross-platform, readline and libedit replacement.
Stars: ✭ 53 (+140.91%)
Mutual labels:  console, autocomplete
Zsh Autocomplete
🤖 Real-time type-ahead completion for Zsh. Asynchronous find-as-you-type autocompletion.
Stars: ✭ 641 (+2813.64%)
Mutual labels:  autocomplete, autocompletion
fast-autocomplete
Fast Autocomplete: When Elastcsearch suggestions are not fast and flexible enough
Stars: ✭ 201 (+813.64%)
Mutual labels:  autocomplete, autocompletion
django-search-admin-autocomplete
Simple django app that add autocomplete to search inside admin panel.
Stars: ✭ 28 (+27.27%)
Mutual labels:  autocomplete, autocompletion
Autocomplete
Suggests and completes words as you type! Write faster and more efficiently.
Stars: ✭ 18 (-18.18%)
Mutual labels:  autocomplete, autocompletion
Cmake Ide
Use Emacs as a C/C++ IDE
Stars: ✭ 661 (+2904.55%)
Mutual labels:  autocomplete, autocompletion
Use Places Autocomplete
😎 📍 React hook for Google Maps Places Autocomplete.
Stars: ✭ 739 (+3259.09%)
Mutual labels:  autocomplete
Idea Php Symfony2 Plugin
IntelliJ IDEA / PhpStorm Symfony Plugin
Stars: ✭ 797 (+3522.73%)
Mutual labels:  autocomplete
Minisearch
Tiny and powerful JavaScript full-text search engine for browser and Node
Stars: ✭ 737 (+3250%)
Mutual labels:  autocomplete
Suplemon
🍋 Console (CLI) text editor with multi cursor support. Suplemon replicates Sublime Text like functionality in the terminal. Try it out, give feedback, fork it!
Stars: ✭ 734 (+3236.36%)
Mutual labels:  console
Terminalview
Terminal inside Sublime Text 3 view
Stars: ✭ 897 (+3977.27%)
Mutual labels:  console
Vim Mucomplete
Chained completion that works the way you want!
Stars: ✭ 794 (+3509.09%)
Mutual labels:  autocompletion
Ueberzug
ueberzug is a command line util which allows to display images in combination with X11
Stars: ✭ 711 (+3131.82%)
Mutual labels:  console
Python Progressbar
Progressbar 2 - A progress bar for Python 2 and Python 3 - "pip install progressbar2"
Stars: ✭ 682 (+3000%)
Mutual labels:  console

AutoPrompt Travis NuGet

Auto complete command prompts for C# .Net console apps. This library provides APIs that can be used to accept input from the command line with added functionality.

The user can supply prefilled input, edit it, use Up or Down arrow to go throught the input options supplied or even press a key to go to the closest maching option.

For example, When the prompt is for a path, the user can navigate down a directory structure with choosing prefilled options with Up/Down arrow keys, typing \ to drill down into the directory and repeat the same process. This allows the user to key in a path with a fraction of keystores as opposed to typing the full path or switching context and pasting the path from another app.

Installation

To install AutoPrompt, run the following command in the Package Manager Console

PM> Install-Package rohankapoor.AutoPrompt

Or

In Visual Studio solution, right click and Manage Nuget Packages. Search online for 'rohankapoor' or 'autoprompt'.

Overview of APIs

Prompt for path of directory or file

Prompts the user on command line for a path. This paths are auto completed based on the drive/directory/file choose. User can:

  • Press Up/Down arrow to choose next drive or directory or file in current path
  • Press \ to navigate into the drive or directory (the Up/Down arrow to go through current files and dirs)
  • Key in a character after \ to go to the closest matching file or directory on current path
  • Backspace to edit the path

Usage:

string userInput = AutoPrompt.GetPath("Choose certification file :\n\tUp/down arrow to go through files in current directory.\n\t'\\' to step into directory\n\tBackspace to edit\n\tOr just type to go to nearest search match\n\n>");

Prompt with initial input

Prompts the user for input on command line with a prompt string as well as a pre filled input which can be edited

Usage:

string userInput = AutoPrompt.PromptForInput("How do you feel? (Press backspce to edit) :", "Awesome");

Prompt with a set of options

Prompts the user for input on command line with a prompt string as well as a set of option that can be choosen using Up and Down arrow. The input is editable as well

Usage:

string userInput = AutoPrompt.PromptForInput("Choose occupation (Press up/down arrow to choose) :", new string[] { "Engineer", "Scientist", "Salesman", "Manager", "TopManagement" });

Prompt with a set of non-editable options

Prompts the user for input on command line with a prompt string as well as a set of option. User can only choose among various options using Up and Down arrow.

Usage:

string userInput = AutoPrompt.PromptForInput("Choose occupation (Press up/down arrow to choose) :", new string[] { "Engineer", "Scientist", "Salesman", "Manager", "TopManagement" }, false);

Prompt with a set of searchable options

Prompts the user for input on command line with a prompt string as well as a set of option that can be choosen using Up and Down arrow. The input is editable and searchable.

To search, key in an alphabet and the option closest match to the char key'd in will be set as user input

Usage:

string userInput = AutoPrompt.PromptForInput_Searchable("Choose city (Press up/down arrow or type name) :", new string[] { "New York City", "San Fransisco", "New Delhi", "Bangalore", "Tokyo" });

Prompt for password

Prompts the user for password input on command line. The entered password is masked with * echoded on the console with each characted of the password key'd in

Usage:

string userInput = AutoPrompt.GetPassword("Enter password :");
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].