Jay Taylor's notes

back to listing index

Facebook PathPicker

[web search]
Original source (facebook.github.io)
Tags: facebook tools facebook.github.io
Clipped on: 2016-06-11

Image (Asset 1/1) alt=

Why Pipe when you can Pick?

brew update; brew install fpp; fpp

Any Input

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.

More on GitHub

 assets/emoji_table.rtf                          | 2523 +++++++++++++++++++++++   src/js/dialogs/confirmShowSolution.js           |   16 +                         src/js/dialogs/levelBuilder.js                  |   19 +                         src/js/dialogs/sandbox.js                       |   10 +-                        src/js/intl/strings.js                          |   35 +-                        src/js/native/index.ios.js                      |    4 +-                        src/js/native_react_views/NUXView.js            |   33 +-                        src/js/native_react_views/SequenceSelectView.js |   67 +-                        src/js/native_react_views/TerminalCardView.js   |    1 -                         src/levels/intro/commits.js                     |    2 +-                        src/levels/mixed/describe.js                    |   65 +-                        src/levels/mixed/tags.js                        |   52 +                         src/levels/rampup/cherryPick.js                 |    6 +-                        src/levels/rampup/detachedHead.js               |    6 +-                        src/levels/rampup/relativeRefs.js               |    5 +-                        src/levels/rampup/relativeRefs2.js              |    2 +-                        src/levels/rampup/reversingChanges.js           |    2 +-                        src/levels/rebase/manyRebases.js                |    3 +-                        src/levels/remote/clone.js                      |   21 +-                        src/levels/remote/push.js                       |    2 +-                        src/levels/remote/remoteBranches.js             |   62 +-                        21 files changed, 2869 insertions(+), 67 deletions(-)                                                                                                                                                                                                                                                                                                                                                                                                                                                _________________________________________________________________________________[f|A] selection, [down|j|up|k|space|b] navigation, [enter] open, [c] command mode
00:00

Powered by asciinema


Arbitrary Commands

Besides opening files in your editor, PathPicker also allows you to execute arbitrary commands with the selected files.

You can use your selection to add files to version control, change permissions, scp, delete -- pretty much whatever you want!

More on GitHub
                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                        ==========================================================                       Files you have selected:                                                         ==========================================================                       /Users/pcottle/Dropbox (Personal)/wip/learnGitBranching/src/js/native_react_     ==========================================================                       Type a command below! Files will be appended or replace $F                       Enter a blank line to go back to the selection process                           ==========================================================                       ..........................................................                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                 _________________________________________________________________________________command examples: | git add | git checkout HEAD~1 -- | mv $F ../here/ |          
00:00

Powered by asciinema