client: completion: add update command
This commit is contained in:
@@ -2,7 +2,7 @@
|
||||
|
||||
# docker-finance | modern accounting for the power-user
|
||||
#
|
||||
# Copyright (C) 2024 Aaron Fiore (Founder, Evergreen Crypto LLC)
|
||||
# Copyright (C) 2024-2025 Aaron Fiore (Founder, Evergreen Crypto LLC)
|
||||
#
|
||||
# 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
|
||||
@@ -46,7 +46,7 @@ function docker-finance::completion()
|
||||
mapfile -t _images < <(docker images --format "{{.Repository}}:{{.Tag}}" --filter=reference='docker-finance/*/*:*' | cut -d'/' -f2- | grep $USER)
|
||||
declare -r _images
|
||||
|
||||
local -r _commands=("gen" "edit" "build" "backup" "rm" "up" "down" "start" "stop" "run" "shell" "version" "license" "linter" "doxygen" "plugins")
|
||||
local -r _commands=("gen" "edit" "build" "update" "backup" "rm" "up" "down" "start" "stop" "run" "shell" "version" "license" "linter" "doxygen" "plugins")
|
||||
|
||||
local _reply
|
||||
|
||||
@@ -83,6 +83,9 @@ function docker-finance::completion()
|
||||
build)
|
||||
mapfile -t _reply < <(compgen -W "help type${global_arg_delim_2}" -- "$_cur")
|
||||
;;
|
||||
update)
|
||||
mapfile -t _reply < <(compgen -W "help type${global_arg_delim_2}" -- "$_cur")
|
||||
;;
|
||||
backup | rm | up | down | start | stop)
|
||||
# TODO: _currently no-op
|
||||
;;
|
||||
|
||||
Reference in New Issue
Block a user