Description
Description:
In the visual navigation mode, initialized via the start command, users can manage the framework without command-line input, using only arrow keys and shortcuts. This mode will allow users to run plugins in a more user-friendly manner. However, unlike the advanced command-line mode where users specify all execution details, the visual mode requires plugins to have pre-configured values that will be auto-loaded into the argument parser workspace. This will enable users to execute plugins with minimal input, only specifying the scope while other execution details are pre-configured.
Technical Details:
Adapt the YAML configuration of all plugins to include pre-configured parameters.
Implement functionality to auto-load these parameters into the argument parser workspace when a plugin is executed in visual mode. Ensure that the visual mode allows users to execute plugins by simply pressing 'r', with minimal input required.
Current Visual Mode Example:
* β β
_^_ .
(( ( ____.Β΄βββ`.____ )) ) ) * *
`.β β β .Β΄ .
|ββ||
_ _
\\/imana<v0.8>
||-ramewΓΈrk
|ββ||
about ββ About the framework
flush ββ Remove a recorded resource
guide ββ Show plugin usage examples and args
info ββ Show information about plugins
list ββ List available resources
load ββ Load a recorded session (post-analysis)
run ββ Run a resource, plugin or case
start ββ Start Vimana in a interactive mode
vimana start
Proposed Solution:
- YAML Configuration Adaptation: Modify the YAML configuration files of all plugins to include pre-configured parameters that can be auto-loaded.
- Parameter Autoloading: Implement functionality to auto-load these parameters into the argument parser workspace when a plugin is executed in visual mode.
- User Experience Simplification: Ensure that users can execute plugins by pressing 'r', with minimal input required to specify the scope.
Example of YAML Configuration Adaptation:
plugin_name: example_plugin
description: Example plugin description
parameters:
- name: param1
type: string
default: value1
- name: param2
type: int
default: 10
autoload: true
Benefits:
- Provides a user-friendly interface for executing plugins in visual mode.
- Simplifies the process of running plugins with pre-configured parameters.
- Abstracts command-line details, making the framework accessible to users with varying levels of technical expertise.
Future Considerations:
- Explore additional features for the visual navigation mode, such as customizable shortcuts and themes.
- Consider integrating with a graphical user interface (GUI) framework for enhanced visual management.