aboutsummaryrefslogtreecommitdiff
path: root/README.org
diff options
context:
space:
mode:
authorFranck Cuny <franckcuny@gmail.com>2016-11-11 15:56:06 -0800
committerFranck Cuny <franckcuny@gmail.com>2016-11-11 15:56:06 -0800
commit809178ee8f588d8e0b33e5969b6ed3f601703cbe (patch)
treef703dd472e0d482155c81272ce140c96d18be2eb /README.org
parentLet each user facing function specify a prompt. (diff)
downloadpants.el-809178ee8f588d8e0b33e5969b6ed3f601703cbe.tar.gz
Pass the targets instead of the BUILD file to `pants--complete-read'
The purpose of this function is to present a list of choices to the end user. It should not worry about getting the list of targets, but instead let the caller pass it, as we do for the prompt. We now have a new function to fetch the targets from the BUILD file. The various interactive functions have now a smaller footprint, and most just need to call the `pants--complete-read' function with a prompt, a list of choices, and an action.
Diffstat (limited to 'README.org')
0 files changed, 0 insertions, 0 deletions