PathPicker accepts a wide range of input -- output from git commands, grep results, searches -- pretty much anything. After parsing the input, PathPicker presents you with a nice UI to select which files you're interested in. After that you can open them in your favorite editor or execute arbitrary commands.
by facebookLast 12 weeks · 0 commits
4 of 6 standards met
Repository: facebook/PathPicker. Description: PathPicker accepts a wide range of input -- output from git commands, grep results, searches -- pretty much anything. After parsing the input, PathPicker presents you with a nice UI to select which files you're interested in. After that you can open them in your favorite editor or execute arbitrary commands. Stars: 5230, Forks: 281. Primary language: Python. Languages: Python (86.2%), HTML (6%), CSS (3.7%), Shell (3.5%), Ruby (0.6%). License: MIT. Homepage: https://facebook.github.io/PathPicker/ Latest release: 0.9.5 (4y ago). Open PRs: 2, open issues: 23. Last activity: 1y ago. Community health: 75%. Top contributors: pcottle, KapJI, lastquestion, pallavagarwal07, code-reaper08, frantic, metavida, rjdean123, 64kramsystem, sethwoodworth and others.
Python
At the moment, the two options to "use" the selected filename(s) is 1) open them in the $EDITOR and 2) append them to a command that is inserted after fpp prompts for it. I suggest to add an additional option to "use" of the filename(s): copy the list of filenames to the clipboard and then exit from fpp. The filenames shall be separated by a single space, ready to be pasted on the command line or whenever else. Moreover, add an option to select the character to separate the filenames (default to single space). NULL-separated would be useful in many cases. WHY (mainly): allow to use the list of filenames directly within the command line; this allows standard editing of commands, and the saving of the command in the history.
is deprecated, see https://github.com/python/mypy/pull/13507