mirror of
https://github.com/gryf/vboxmanage-bash-completion.git
synced 2025-12-18 20:10:22 +01:00
Compare commits
97 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| c051a4ed9d | |||
|
|
593ec245e5 | ||
| e681abb354 | |||
| cd90fc60bd | |||
| 28553da42d | |||
| 3efab392c1 | |||
| b0352554bb | |||
|
|
95088850b6 | ||
| 3404afa441 | |||
| ab6d9f7cd9 | |||
| 3bb795a1e3 | |||
| 468a0a4c32 | |||
| 59ffe61fd6 | |||
| 7c13b0ab6b | |||
| 67ac4d655f | |||
| 8dd76f3295 | |||
| 8fd579c2cd | |||
| 51a393f8fe | |||
| f23ce2aedb | |||
| 350e0aedaf | |||
| 25d7fb4048 | |||
| 0077621f1b | |||
| 52aa7111fa | |||
| c93cfdb0f1 | |||
| d01352a68a | |||
| 5da82d54da | |||
| d2c25f9805 | |||
| 170b3a69d9 | |||
| ca2073b686 | |||
| 4d6210b599 | |||
| b231c43740 | |||
| d60719b8e2 | |||
| a839731fe6 | |||
| 4557521b27 | |||
| 507b4aa0bd | |||
| 8d90209fcc | |||
| c212439a64 | |||
| 12e85b78da | |||
| 385c78df30 | |||
| ce1c0c1b19 | |||
| 7c42bcd22f | |||
| 417fc3132f | |||
| d505a106fa | |||
| aa31561a45 | |||
| dda64a649c | |||
| 4298237cf9 | |||
| c7a5fc729c | |||
| 62d9078b23 | |||
| 3f42dd2dc1 | |||
| 6ee3136033 | |||
| cf367c093d | |||
| 7174fe03db | |||
| f2d71065cb | |||
| 82e2fade6b | |||
| 8360d95123 | |||
| 12b0f38741 | |||
| 808c4ac277 | |||
|
|
31a7eec15a | ||
|
|
0ffc79dbe2 | ||
|
|
1ed71c9253 | ||
| 35bce20ef5 | |||
| c8301459df | |||
| ab0cc7aea4 | |||
| f73e80c7ad | |||
| 10900543fa | |||
| 1be3e589d4 | |||
| 9c5b048c62 | |||
| 5fd18d7cec | |||
| 05af06f337 | |||
| cde78c8e4c | |||
|
|
197c46cd35 | ||
|
|
296be19560 | ||
| 62f57ebbb7 | |||
| d4f56a0d6b | |||
| f8b5981935 | |||
| d027094e7c | |||
| e90270e8ee | |||
| 11a0844c4d | |||
| 9b06c430fd | |||
| fbdd259cac | |||
| d79a8bc280 | |||
| 20b1ef9fab | |||
| 1674acbe92 | |||
| 9b7ab10421 | |||
| 47e3ff6bbe | |||
| f81bfe514f | |||
| a78a03286a | |||
| 04fba0a65a | |||
| 26eeb62a6d | |||
| 88566ade92 | |||
| fcc43508e6 | |||
| c6e71c51d9 | |||
| 2860d4e247 | |||
| e4618d52a5 | |||
| 6251330e9b | |||
| c05e1c4758 | |||
| 8c9812799d |
24
LICENSE
Normal file
24
LICENSE
Normal file
@@ -0,0 +1,24 @@
|
||||
Copyright (c) 2015, Roman Dobosz
|
||||
All rights reserved.
|
||||
|
||||
Redistribution and use in source and binary forms, with or without
|
||||
modification, are permitted provided that the following conditions are met:
|
||||
* Redistributions of source code must retain the above copyright
|
||||
notice, this list of conditions and the following disclaimer.
|
||||
* Redistributions in binary form must reproduce the above copyright
|
||||
notice, this list of conditions and the following disclaimer in the
|
||||
documentation and/or other materials provided with the distribution.
|
||||
* Neither the name of the organization nor the names of its contributors
|
||||
may be used to endorse or promote products derived from this software
|
||||
without specific prior written permission.
|
||||
|
||||
THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS "AS IS"
|
||||
AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
|
||||
IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE
|
||||
DISCLAIMED. IN NO EVENT SHALL ROMAN DOBOSZ BE LIABLE FOR ANY DIRECT, INDIRECT,
|
||||
INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
|
||||
LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR
|
||||
PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF
|
||||
LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
|
||||
NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE,
|
||||
EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
8
README
8
README
@@ -1,8 +0,0 @@
|
||||
VBoxManage bash completion script.
|
||||
|
||||
This version of the completion was initially based on Sebastian T. Hafner
|
||||
script. However, in some point of time I've decided to rewrite it almost from
|
||||
scratch.
|
||||
|
||||
Current version of script was written and tested against VBoxManage in version
|
||||
4.3.28, and supports all commands (in some extent ;)).
|
||||
57
README.rst
Normal file
57
README.rst
Normal file
@@ -0,0 +1,57 @@
|
||||
VBoxManage bash completion script
|
||||
=================================
|
||||
|
||||
This version of the completion was initially based on Sebastian T. Hafner
|
||||
script. However, in some point of time I've decided to rewrite it almost from
|
||||
scratch.
|
||||
|
||||
Current version of script was written and tested against VBoxManage in version
|
||||
7.0.22, and should contain all commands and their options.
|
||||
|
||||
Unlike other attempts, I've tried to make the script context aware. See the
|
||||
simple session with the VBoxManage command below, to have an idea how it works:
|
||||
|
||||
.. image:: /images/vboxmanage_session.gif?raw=true
|
||||
:alt: VBoxManage session
|
||||
|
||||
|
||||
Note, that ``startvm`` command proposes only VMs, which are not running, while
|
||||
``controlvm`` will complete only running VMs.
|
||||
|
||||
What is worth to mention, this completion script is a real thing, so it only
|
||||
offer things which have sense for particular commands, for example:
|
||||
|
||||
.. image:: /images/vboxmanage_snapshot.gif?raw=true
|
||||
:alt: Take a snapshot
|
||||
|
||||
For ``snapshot take`` subcommand, the only options which are proposed are
|
||||
``--live`` and ``--description``. Other commands and subcommands are behaving in
|
||||
similar way.
|
||||
|
||||
|
||||
Installation
|
||||
============
|
||||
|
||||
Either source the file::
|
||||
|
||||
$ . /path/to/this/repo/VBoxManage
|
||||
|
||||
or add it to a proper place depending on your distribution. Usual place would
|
||||
be:
|
||||
|
||||
* ~/bash-completion.d/
|
||||
* /usr/local/etc/bash-completion.d/
|
||||
* /etc/bash_completion.d/
|
||||
* ~/.local/share/bash-completion
|
||||
* etc.
|
||||
|
||||
It's also okay to copy it into some directory, and place proper line in
|
||||
``.profile`` or ``.bashrc``::
|
||||
|
||||
source /some/directory/VBoxManage
|
||||
|
||||
License
|
||||
=======
|
||||
|
||||
This software is licensed under 3-clause BSD license. See LICENSE file for
|
||||
details.
|
||||
2100
VBoxManage
2100
VBoxManage
File diff suppressed because it is too large
Load Diff
BIN
images/vboxmanage_session.gif
Normal file
BIN
images/vboxmanage_session.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 1.6 MiB |
BIN
images/vboxmanage_snapshot.gif
Normal file
BIN
images/vboxmanage_snapshot.gif
Normal file
Binary file not shown.
|
After Width: | Height: | Size: 232 KiB |
Reference in New Issue
Block a user