client: docker: completion: add help to plugins
This commit is contained in:
@@ -2,7 +2,7 @@
|
|||||||
|
|
||||||
# docker-finance | modern accounting for the power-user
|
# docker-finance | modern accounting for the power-user
|
||||||
#
|
#
|
||||||
# Copyright (C) 2024-2025 Aaron Fiore (Founder, Evergreen Crypto LLC)
|
# Copyright (C) 2024-2026 Aaron Fiore (Founder, Evergreen Crypto LLC)
|
||||||
#
|
#
|
||||||
# This program is free software: you can redistribute it and/or modify
|
# This program is free software: you can redistribute it and/or modify
|
||||||
# it under the terms of the GNU General Public License as published by
|
# it under the terms of the GNU General Public License as published by
|
||||||
@@ -131,7 +131,7 @@ function docker-finance::completion()
|
|||||||
find "${DOCKER_FINANCE_CLIENT_REPO}"/client/plugins/docker "${_args[@]}" -printf 'repo/%P\n' 2>/dev/null
|
find "${DOCKER_FINANCE_CLIENT_REPO}"/client/plugins/docker "${_args[@]}" -printf 'repo/%P\n' 2>/dev/null
|
||||||
})
|
})
|
||||||
declare -r _plugins
|
declare -r _plugins
|
||||||
mapfile -t _reply < <(compgen -W "${_plugins[*]}" -- "$_cur")
|
mapfile -t _reply < <(compgen -W "help ${_plugins[*]}" -- "$_cur")
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
declare -r _reply
|
declare -r _reply
|
||||||
|
|||||||
Reference in New Issue
Block a user