script

package
v0.0.0-...-fdf23f2 Latest Latest
Warning

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

Go to latest
Published: Nov 25, 2025 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Service

type Service struct{}

Service handles script operations for the Strategic Claude Basic CLI

func New

func New() *Service

New creates a new script service instance

func (*Service) CopyScript

func (s *Service) CopyScript(sourceDir, targetDir, scriptName string) error

CopyScript copies a script from the template source directory to the target directory

func (*Service) ExecuteScript

func (s *Service) ExecuteScript(targetDir, scriptName string) error

ExecuteScript executes a script in the target directory

func (*Service) GetScriptPath

func (s *Service) GetScriptPath(targetDir, scriptName string) string

GetScriptPath returns the full path to a script in the target directory

func (*Service) RemoveScript

func (s *Service) RemoveScript(targetDir, scriptName string) error

RemoveScript removes a script from the target directory

func (*Service) ScriptExists

func (s *Service) ScriptExists(sourceDir, scriptName string) bool

ScriptExists checks if a script exists in the source directory

Jump to

Keyboard shortcuts

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