Skip to content

Commit 4cf43bb

Browse files
committed
feat(mech-dump): Add completion to mech-dump
Part of WWW-Mechanize Perl distribution https://github.com/libwww-perl/WWW-Mechanize WWW::Mechanize, or Mech for short, is a Perl module for stateful programmatic web browsing, used for automating interaction with websites. GitHub Issue #474
1 parent 594de4e commit 4cf43bb

File tree

1 file changed

+11
-0
lines changed

1 file changed

+11
-0
lines changed

completions/mech-dump

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
_comp_cmd_mech_dump()
2+
{
3+
local cur
4+
cur=${COMP_WORDS[COMP_CWORD]}
5+
6+
# shellcheck disable=SC2207,SC2016
7+
COMPREPLY=($(compgen -W '$(mech-dump --completions)' -- "$cur"))
8+
} &&
9+
complete -F _comp_cmd_mech_dump mech-dump
10+
11+
# ex: filetype=sh

0 commit comments

Comments
 (0)