installers.lang.vlang #
Installer - Vlang Module
This module provides heroscript actions for installing and managing the V programming language and its tools.
Actions
vlang.install
Installs the V language compiler.
Parameters:
reset
(bool): If true, force a reinstall even if V is already detected. Default:false
.
Example:
!!vlang.install
reset: true
vlang.v_analyzer_install
Installs the v-analyzer
language server for V.
Parameters:
reset
(bool): If true, force a reinstall. Default:false
.
Example:
!!vlang.v_analyzer_install
fn install #
fn install(args_ InstallArgs) !
fn play #
fn play(mut plbook playbook.PlayBook) !
fn v_analyzer_install #
fn v_analyzer_install(args_ InstallArgs) !
struct InstallArgs #
@[params]
struct InstallArgs {
pub mut:
reset bool
}