Opened 9 years ago

Closed 6 years ago

#1046 closed enhancement (wontfix)

command completion/short commands in bindctl

Reported by: cas Owned by:
Priority: medium Milestone: Remaining BIND10 tickets
Component: ~bind-ctl (obsolete) Version: bind10-old
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: DNS Feature Depending on Ticket:
Estimated Difficulty: 0.0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no


it would be nice to have command completion (tab completion) on the bindctl commandline.

shortened commands (similar to the cisco CLI) woudl also be useful:

"co s" for "config set"

the CLI commands should be selected so that the first chars of each level don't overlap ('show' and 'show-json' are colliding, 'json-show' would be better, or 'show-json'->'show json' and 'show'->'show config' ), or short 's j' and 's c')


Change History (6)

comment:1 Changed 9 years ago by shane

  • Milestone changed from New Tasks to Year 3 Task Backlog

comment:2 Changed 9 years ago by jreed

bindctl does have autocomplete. On some systems by pressing TAB twice. For example I type "c" and press TAB one time and it spells out "config".

At an empty prompt, I press TAB and it shows me:

Boss        Logging     Stats       config      tsig_keys   
Cmdctl      Resolver    StatsHttpd  help        

Here is another example. Press "S" and TAB three times. Then I type "H" and TAB. And then SPACE and TAB.

> Stats
Stats       StatsHttpd  
> StatsHttpd 
help      shutdown  status    

If it does not work, I think it is related to ticket #677.

As for the shortened commands, I think discussion on bind10-dev mailing list would be better to propose this.

comment:3 Changed 9 years ago by cas

I can confirm that command completion does work on a different machine, so it is probably the same issue as in #677.

I will bring the discussion of short commands to the mailing list.

comment:4 Changed 8 years ago by shane

  • Summary changed from command completion/short commands in bindclt to command completion/short commands in bindctl

comment:5 Changed 6 years ago by tomek

  • Milestone set to Remaining BIND10 tickets

comment:6 Changed 6 years ago by tomek

  • Resolution set to wontfix
  • Status changed from new to closed
  • Version set to old-bind10

This issue is related to bind10 code that is no longer part of Kea.

If you are interested in BIND10/Bundy framework or its DNS components,
please check

Closing ticket.

Note: See TracTickets for help on using tickets.