PHP 8.2.31
Preview: completion.fish Size: 723 B
//opt/cpanel/ea-wappspector/vendor/rector/rector/vendor/symfony/console/Resources/completion.fish

# This file is part of the Symfony package.
#
# (c) Fabien Potencier <fabien@symfony.com>
#
# For the full copyright and license information, please view
# https://symfony.com/doc/current/contributing/code/license.html

function _sf_{{ COMMAND_NAME }}
    set sf_cmd (commandline -o)
    set c (count (commandline -oc))

    set completecmd "$sf_cmd[1]" "_complete" "--no-interaction" "-sfish" "-a{{ VERSION }}"

    for i in $sf_cmd
        if [ $i != "" ]
            set completecmd $completecmd "-i$i"
        end
    end

    set completecmd $completecmd "-c$c"

    set sfcomplete ($completecmd)

    for i in $sfcomplete
        echo $i
    end
end

complete -c '{{ COMMAND_NAME }}' -a '(_sf_{{ COMMAND_NAME }})' -f

Directory Contents

Dirs: 1 × Files: 3

Name Size Perms Modified Actions
bin DIR
- drwxr-xr-x 2024-11-08 13:59:10
Edit Download
3.00 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download
723 B lrw-r--r-- 2024-11-08 13:59:10
Edit Download
2.76 KB lrw-r--r-- 2024-11-08 13:59:10
Edit Download

If ZipArchive is unavailable, a .tar will be created (no compression).