Tab completion of many commands like info and trust now includes remotes
Especially useful with proxied remotes and clusters, where the user may not be entirely familiar with the name and can learn by tab completion.
This commit is contained in:
parent
3d646703ee
commit
0033e6c0a6
13 changed files with 33 additions and 14 deletions
|
@ -19,7 +19,8 @@ import qualified Data.Set as S
|
|||
cmd :: Command
|
||||
cmd = withAnnexOptions [jsonOptions] $
|
||||
command "trust" SectionSetup "trust a repository"
|
||||
(paramRepeating paramRepository) (withParams seek)
|
||||
(paramRepeating paramRepository)
|
||||
(withParams' seek completeRemotes)
|
||||
|
||||
seek :: CmdParams -> CommandSeek
|
||||
seek = trustCommand "trust" Trusted
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue