Open
Description
Description:
Currently, the Vimana Framework requires users to type long command lines to execute various operations. For example:
$ vimana run \
--module dmt \
--target-list 127.0.0.1, 192.168.1.161, djapp1.vmnf.com\
--port-list 8888,9001,8000,5001 \
--verbose \
--auto \
--save-case djapps \
--exec-case
To improve user experience and make the command-line interface (CLI) more user-friendly, we propose adding support for command aliases in future releases. This will allow users to execute commands using shorter, more intuitive aliases. For example:
- vfrp for vimana run --plugin
- vfrc for vimana run --case
- vfgp for vimana guide --plugin
Expected Behavior:
- Users should be able to use shorter aliases to execute commands.
- The setup script should automatically configure these aliases in the user's shell configuration (~/.bashrc or ~/.zshrc).
Proposed Solution:
- Implement a script that sets up aliases for common commands.
- Ensure the setup script adds these aliases to the user's shell configuration file.
- Provide clear documentation on how to use the aliases.
Example Aliases:
- vfrp for vimana run --plugin
- vfrc for vimana run --case
- vfgp for vimana guide --plugin
Additional Context: This feature will significantly enhance the usability of the Vimana Framework, making it more accessible and efficient for users. It is especially useful for users who frequently run complex commands and need a quicker way to execute them.