aboutsummaryrefslogtreecommitdiffhomepage
path: root/share/functions/__fish_filter_ant_targets.fish
blob: 28ce2eb11059450c1a66c0601e12501ad41299dc (plain)
1
2
3
function __fish_filter_ant_targets -d "Display targets within an ant build.xml file"
    sed -n "s/^.*<target[^>]* name=[\"']\([^\"']*\)[\"'].*\$/\1/p" < $argv[1]
end