[libvirt] [PATCH 0/8] virsh: More intelligent auto-completion

Tomas Meszaros exo at tty.sk
Thu Aug 8 14:38:43 UTC 2013


Hi, this patch series is a prototype for my GSoC project (Michal Privoznik
is my mentor).

I'm working on virsh auto-completion, trying to make it more "intelligent".
At this stage, prototype is capable of command and option completion. Three
completer functions are currently implemented so you can test it. If it turns
out that this prototype is good enough, I will implement more completer functions.

Tomas Meszaros (8):
  virsh: Add vshCmdCompleter and vshOptCompleter
  virsh: Add vshDomainCompleter
  virsh: Add vshSuspendTargetCompleter
  virsh: Add vshRebootShutdownModeCompleter
  virsh: Improve readline generators and readline completion
  virsh: Add completer functions to domManaggementCmds
  virsh: Add completer functions to snapshotCmds
  virsh: Add completer functions to domMonitoringCmds

 tools/virsh-domain-monitor.c |  32 ++-
 tools/virsh-domain.c         | 240 +++++++++++++++-----
 tools/virsh-snapshot.c       |  45 +++-
 tools/virsh.c                | 507 +++++++++++++++++++++++++++++++++++++++++--
 tools/virsh.h                |  11 +
 5 files changed, 742 insertions(+), 93 deletions(-)

-- 
1.8.3.1




More information about the libvir-list mailing list