{"repo":"urbanogilson/lineselect","free":true,"listed":false,"github":"https://github.com/urbanogilson/lineselect","clone":"git clone https://github.com/urbanogilson/lineselect.git","description":"Interactive Line Selector","language":"Rust","stars":74,"topics":["cli","rust","command-line","tool"],"license":"MIT","category":"cli-tools","readme_excerpt":"Line Select Elevate your command-line pipelines using the Interactive Line Selector – a potent utility enabling interactive line selection from stdin. Seamlessly integrate, pause, select, and refine your pipeline, enhancing data processing precision. Features - Interactive Selection: Pause the pipeline's execution to manually select specific lines from the input stream. - Seamless Integration: Easily integrate the Interactive Line Selector into your existing command-line pipelines. - Optimized Workflow: Curate data on-the-fly for more accurate and meaningful results. Usage Incorporate the Interactive Line Selector into your pipeline: &lt;command producing input&gt; lineselect &lt;subsequent command&gt; Use arrow keys to navigate, press Space to select/deselect lines, and press Enter to proceed with the selected lines. Options Option Short Description Default --- --- --- --- --prompt -p Custom prompt text Pick some lines --max-height Maximum number of lines to display at once (all lines) --version -V Print version --help -h Print help Exit Codes Code Meaning --- --- 0 Lines selected and printed, or empty input 1 User cancelled (Esc or Ctrl+C) Example Imagine you have a list of files in a directory and you want to selectively remove them using rm . Instead of using a complex find command, you can utilize the Interactive Line Selector to streamline the process: ls lineselect xargs rm Use a custom prompt to make scripts more descriptive: Limit the visible lines when working with ","default_branch":null,"files":null,"tree":[],"storefront":"/r/urbanogilson","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/urbanogilson/lineselect/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}