installers.web.tailwind #
tailwind
To get started
import freeflowuniverse.crystallib.installers.something. tailwind
mut installer:= tailwind.get()!
installer.start()!
example heroscript
!!tailwind.install
homedir: '/home/user/tailwind'
username: 'admin'
password: 'secretpassword'
title: 'Some Title'
host: 'localhost'
port: 8888
Constants #
const version = '3.4.12'
fn get #
fn get(args_ ArgsGet) !&Tailwind
fn install #
fn install() !
fn switch #
fn switch(name string)
switch instance to be used for tailwind
struct ArgsGet #
@[params]
struct ArgsGet {
pub mut:
name string = 'default'
}
///////FACTORY
struct InstallArgs #
@[params]
struct InstallArgs {
pub mut:
reset bool
}
////////////////////////////////////////////////////////////////////////////////////////////////// ////////////////////////# LIVE CYCLE MANAGEMENT FOR INSTALLERS /////////////////////////////////// //////////////////////////////////////////////////////////////////////////////////////////////////
struct Tailwind #
struct Tailwind {
pub mut:
name string = 'default'
}
THIS THE THE SOURCE OF THE INFORMATION OF THIS FILE, HERE WE HAVE THE CONFIG OBJECT CONFIGURED AND MODELLED
fn (Tailwind) destroy #
fn (mut self Tailwind) destroy() !
fn (Tailwind) install #
fn (mut self Tailwind) install(args InstallArgs) !