exec

package
v0.3.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 26, 2025 License: MIT Imports: 8 Imported by: 0

Documentation

Overview

Copyright 2025 The Hulo Authors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.

Copyright 2025 The Hulo Authors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.

Copyright 2025 The Hulo Authors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.

Copyright 2025 The Hulo Authors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.

Copyright 2025 The Hulo Authors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.

Copyright 2025 The Hulo Authors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.

Copyright 2025 The Hulo Authors. All rights reserved. Use of this source code is governed by a MIT-style license that can be found in the LICENSE file.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type ClearExecutor

type ClearExecutor struct{}

func (*ClearExecutor) CanHandle

func (e *ClearExecutor) CanHandle(cmd string) bool

func (*ClearExecutor) Execute

func (e *ClearExecutor) Execute(cmd string) error

type ConfigExecutor

type ConfigExecutor struct{}

func (*ConfigExecutor) CanHandle

func (e *ConfigExecutor) CanHandle(cmd string) bool

func (*ConfigExecutor) Execute

func (e *ConfigExecutor) Execute(cmd string) error

type DebugExecutor

type DebugExecutor struct {
	Transpiler config.DebugSettingsTranspiler
	Parser     config.DebugSettingsParser
	Analyzer   config.DebugSettingsAnalyzer
	Target     string
	// contains filtered or unexported fields
}

func NewDebugExecutor

func NewDebugExecutor(fs vfs.VFS) *DebugExecutor

func (*DebugExecutor) CanHandle

func (e *DebugExecutor) CanHandle(cmd string) bool

func (*DebugExecutor) Execute

func (e *DebugExecutor) Execute(cmd string) error

type Executor

type Executor interface {
	CanHandle(cmd string) bool
	Execute(cmd string) error
}

type ExitExecutor

type ExitExecutor struct{}

func (*ExitExecutor) CanHandle

func (e *ExitExecutor) CanHandle(cmd string) bool

func (*ExitExecutor) Execute

func (e *ExitExecutor) Execute(cmd string) error

type HelpExecutor

type HelpExecutor struct{}

func (*HelpExecutor) CanHandle

func (e *HelpExecutor) CanHandle(cmd string) bool

func (*HelpExecutor) Execute

func (e *HelpExecutor) Execute(cmd string) error

type VersionExecutor

type VersionExecutor struct{}

func (*VersionExecutor) CanHandle

func (e *VersionExecutor) CanHandle(cmd string) bool

func (*VersionExecutor) Execute

func (e *VersionExecutor) Execute(cmd string) error

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL