Break up lines over 1000 characters

Yeah, these are just excessive.

In case you are wondering: 2812 characters was the longest line in all
of fish.
This commit is contained in:
Fabian Homborg 2020-06-24 20:39:56 +02:00
parent e41404eed3
commit c21a3b9d71
3 changed files with 72 additions and 4 deletions

View file

@ -180,7 +180,25 @@ function __fish_print_magento_list_formats -d "Shows all available output format
end
function __fish_print_magento_commands_list -d "Lists magento commands"
set -l commands help list admin:user:create admin:user:unlock app:config:dump cache:clean cache:disable cache:enable cache:flush cache:status catalog:images:resize catalog:product:attributes:cleanup cron:run customer:hash:upgrade deploy:mode:set deploy:mode:show dev:source-theme:deploy dev:tests:run dev:urn-catalog:generate dev:xml:convert i18n:collect-phrases i18n:pack i18n:uninstall indexer:info indexer:reindex indexer:reset indexer:set-mode indexer:show-mode indexer:status info:adminuri info:backups:list info:currency:list info:dependencies:show-framework info:dependencies:show-modules info:dependencies:show-modules-circular info:language:list info:timezone:list maintenance:allow-ips maintenance:disable maintenance:enable maintenance:status module:disable module:enable module:status module:uninstall sampledata:deploy sampledata:remove sampledata:reset setup:backup setup:config:set setup:cron:run setup:db-data:upgrade setup:db-schema:upgrade setup:db:status setup:di:compile setup:install setup:performance:generate-fixtures setup:rollback setup:static-content:deploy setup:store-config:set setup:uninstall setup:upgrade theme:uninstall
set -l commands help list admin:user:create admin:user:unlock \
app:config:dump cache:clean cache:disable cache:enable cache:flush \
cache:status catalog:images:resize catalog:product:attributes:cleanup \
cron:run customer:hash:upgrade deploy:mode:set deploy:mode:show \
dev:source-theme:deploy dev:tests:run dev:urn-catalog:generate \
dev:xml:convert i18n:collect-phrases i18n:pack i18n:uninstall \
indexer:info indexer:reindex indexer:reset indexer:set-mode \
indexer:show-mode indexer:status info:adminuri info:backups:list \
info:currency:list info:dependencies:show-framework \
info:dependencies:show-modules info:dependencies:show-modules-circular \
info:language:list info:timezone:list maintenance:allow-ips \
maintenance:disable maintenance:enable maintenance:status module:disable \
module:enable module:status module:uninstall sampledata:deploy \
sampledata:remove sampledata:reset setup:backup setup:config:set \
setup:cron:run setup:db-data:upgrade setup:db-schema:upgrade \
setup:db:status setup:di:compile setup:install \
setup:performance:generate-fixtures setup:rollback \
setup:static-content:deploy setup:store-config:set \
setup:uninstall setup:upgrade theme:uninstall
for i in $commands
echo $i
end

View file

@ -1,7 +1,38 @@
# virsh is the main interface for managing virtlib guest domains.
# See: https://libvirt.org/virshcmdref.html
set -l cmds attach-device attach-disk attach-interface autostart blkdeviotune blkiotune blockcommit blockcopy blockjob blockpull blockresize change-media console cpu-baseline cpu-compare cpu-stats create define desc destroy detach-device detach-disk detach-interface domdisplay domfsfreeze domfsthaw domfsinfo domfstrim domhostname domid domif-setlink domiftune domjobabort domjobinfo domname domrename dompmsuspend dompmwakeup domuuid domxml-from-native domxml-to-native dump dumpxml edit event inject-nmi iothreadinfo iothreadpin iothreadadd iothreaddel send-key send-process-signal lxc-enter-namespace managedsave managedsave-remove managedsave-edit managedsave-dumpxml managedsave-define memtune perf metadata migrate migrate-setmaxdowntime migrate-getmaxdowntime migrate-compcache migrate-setspeed migrate-getspeed migrate-postcopy numatune qemu-attach qemu-monitor-command qemu-monitor-event qemu-agent-command reboot reset restore resume save save-image-define save-image-dumpxml save-image-edit schedinfo screenshot set-lifecycle-action set-user-password setmaxmem setmem setvcpus shutdown start suspend ttyconsole undefine update-device vcpucount vcpuinfo vcpupin emulatorpin vncdisplay guestvcpus setvcpu domblkthreshold domblkerror domblkinfo domblklist domblkstat domcontrol domif-getlink domifaddr domiflist domifstat dominfo dommemstat domstate domstats domtime list allocpages capabilities cpu-models domcapabilities freecell freepages hostname maxvcpus node-memory-tune nodecpumap nodecpustats nodeinfo nodememstats nodesuspend sysinfo uri version iface-begin iface-bridge iface-commit iface-define iface-destroy iface-dumpxml iface-edit iface-list iface-mac iface-name iface-rollback iface-start iface-unbridge iface-undefine nwfilter-define nwfilter-dumpxml nwfilter-edit nwfilter-list nwfilter-undefine net-autostart net-create net-define net-destroy net-dhcp-leases net-dumpxml net-edit net-event net-info net-list net-name net-start net-undefine net-update net-uuid nodedev-create nodedev-destroy nodedev-detach nodedev-dumpxml nodedev-list nodedev-reattach nodedev-reset nodedev-event secret-define secret-dumpxml secret-event secret-get-value secret-list secret-set-value secret-undefine snapshot-create snapshot-create-as snapshot-current snapshot-delete snapshot-dumpxml snapshot-edit snapshot-info snapshot-list snapshot-parent snapshot-revert find-storage-pool-sources-as find-storage-pool-sources pool-autostart pool-build pool-create-as pool-create pool-define-as pool-define pool-delete pool-destroy pool-dumpxml pool-edit pool-info pool-list pool-name pool-refresh pool-start pool-undefine pool-uuid pool-event vol-clone vol-create-as vol-create vol-create-from vol-delete vol-download vol-dumpxml vol-info vol-key vol-list vol-name vol-path vol-pool vol-resize vol-upload vol-wipe
set -l cmds attach-device attach-disk attach-interface autostart blkdeviotune blkiotune \
blockcommit blockcopy blockjob blockpull blockresize change-media console cpu-baseline \
cpu-compare cpu-stats create define desc destroy detach-device detach-disk detach-interface \
domdisplay domfsfreeze domfsthaw domfsinfo domfstrim domhostname domid domif-setlink domiftune \
domjobabort domjobinfo domname domrename dompmsuspend dompmwakeup domuuid domxml-from-native \
domxml-to-native dump dumpxml edit event inject-nmi iothreadinfo iothreadpin iothreadadd \
iothreaddel send-key send-process-signal lxc-enter-namespace managedsave managedsave-remove \
managedsave-edit managedsave-dumpxml managedsave-define memtune perf metadata migrate \
migrate-setmaxdowntime migrate-getmaxdowntime migrate-compcache migrate-setspeed \
migrate-getspeed migrate-postcopy numatune qemu-attach qemu-monitor-command \
qemu-monitor-event qemu-agent-command reboot reset restore resume save save-image-define \
save-image-dumpxml save-image-edit schedinfo screenshot set-lifecycle-action set-user-password \
setmaxmem setmem setvcpus shutdown start suspend ttyconsole undefine update-device vcpucount \
vcpuinfo vcpupin emulatorpin vncdisplay guestvcpus setvcpu domblkthreshold domblkerror \
domblkinfo domblklist domblkstat domcontrol domif-getlink domifaddr domiflist domifstat \
dominfo dommemstat domstate domstats domtime list allocpages capabilities cpu-models \
domcapabilities freecell freepages hostname maxvcpus node-memory-tune nodecpumap nodecpustats \
nodeinfo nodememstats nodesuspend sysinfo uri version iface-begin iface-bridge iface-commit \
iface-define iface-destroy iface-dumpxml iface-edit iface-list iface-mac iface-name \
iface-rollback iface-start iface-unbridge iface-undefine nwfilter-define nwfilter-dumpxml \
nwfilter-edit nwfilter-list nwfilter-undefine net-autostart net-create net-define net-destroy \
net-dhcp-leases net-dumpxml net-edit net-event net-info net-list net-name net-start \
net-undefine net-update net-uuid nodedev-create nodedev-destroy nodedev-detach nodedev-dumpxml \
nodedev-list nodedev-reattach nodedev-reset nodedev-event secret-define secret-dumpxml \
secret-event secret-get-value secret-list secret-set-value secret-undefine snapshot-create \
snapshot-create-as snapshot-current snapshot-delete snapshot-dumpxml snapshot-edit snapshot-info \
snapshot-list snapshot-parent snapshot-revert find-storage-pool-sources-as \
find-storage-pool-sources pool-autostart pool-build pool-create-as pool-create pool-define-as \
pool-define pool-delete pool-destroy pool-dumpxml pool-edit pool-info pool-list pool-name \
pool-refresh pool-start pool-undefine pool-uuid pool-event vol-clone vol-create-as vol-create \
vol-create-from vol-delete vol-download vol-dumpxml vol-info vol-key vol-list \
vol-name vol-path vol-pool vol-resize vol-upload vol-wipe
function __fish_virsh_get_domains --argument-names state --description "Prints the list of virtlib domains with the given state (running, shutoff, paused or transient)."
set -l filter

View file

@ -1,6 +1,21 @@
function __fish_wajig_no_subcommand -d 'Test if wajig has yet to be given the subcommand'
for i in (commandline -opc)
if contains -- $i addcdrom auto-alts auto-clean auto-download auto-install available bug build build-depend changelog clean commands daily-upgrade dependents describe describe-new detail detail-new dist-upgrade docs download file-download file-install file-remove find-file find-pkg fix-configure fix-install fix-missing force help hold init install installr installrs installs integrity large last-update list list-all list-alts list-cache list-commands list-daemons list-files list-hold list-installed list-log list-names list-orphans list-scripts list-section list-section list-status list-wide local-dist-upgrade local-upgrade madison move new news new-upgrades non-free orphans package policy purge purge-depend purge-orphans readme recursive recommended reconfigure reinstall reload remove remove-depend remove-orphans repackage reset restart rpminstall rpmtodeb search search-apt setup show showdistupgrade showinstall showremove showupgrade size sizes snapshot source start status status-match status-search stop suggested tasksel toupgrade unhold unofficial update update-alts update-pci-ids update-usb-ids upgrade versions whatis whichpkg
if contains -- $i addcdrom auto-alts auto-clean auto-download auto-install \
available bug build build-depend changelog clean commands daily-upgrade \
dependents describe describe-new detail detail-new dist-upgrade docs download \
file-download file-install file-remove find-file find-pkg fix-configure \
fix-install fix-missing force help hold init install installr installrs \
installs integrity large last-update list list-all list-alts list-cache \
list-commands list-daemons list-files list-hold list-installed list-log \
list-names list-orphans list-scripts list-section list-section list-status \
list-wide local-dist-upgrade local-upgrade madison move new news new-upgrades \
non-free orphans package policy purge purge-depend purge-orphans readme \
recursive recommended reconfigure reinstall reload remove remove-depend \
remove-orphans repackage reset restart rpminstall rpmtodeb search search-apt \
setup show showdistupgrade showinstall showremove showupgrade size sizes \
snapshot source start status status-match status-search stop suggested \
tasksel toupgrade unhold unofficial update update-alts update-pci-ids \
update-usb-ids upgrade versions whatis whichpkg
return 1
end
end
@ -9,7 +24,11 @@ end
function __fish_wajig_use_package -d 'Test if wajig command should have packages as potential completion'
for i in (commandline -opc)
if contains -- $i contains bug build build-depend changelog dependents describe detail hold install installr installrs installs list list-files news package purge purge-depend readme recursive recommended reconfigure reinstall remove remove-depend repackage show showinstall showremove showupgrade size sizes source suggested unhold upgrade versions whatis
if contains -- $i contains bug build build-depend changelog dependents describe \
detail hold install installr installrs installs list list-files news \
package purge purge-depend readme recursive recommended reconfigure \
reinstall remove remove-depend repackage show showinstall showremove \
showupgrade size sizes source suggested unhold upgrade versions whatis
return 0
end
end