Documentation
¶
Index ¶
- type Shell
- func (s *Shell) ChangeDirectory(dir string) error
- func (s *Shell) DownloadFile(remotePath, localPath string) error
- func (s *Shell) ExecuteCommand(command string) (string, error)
- func (s *Shell) HandleCommand(command string) (string, error)
- func (s *Shell) ListFiles(dir string) ([]string, error)
- func (s *Shell) ParseCommand(command string) (string, []string)
- func (s *Shell) UploadFile(localPath, remotePath string) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Shell ¶
type Shell struct {
WorkingDir string
}
func (*Shell) ChangeDirectory ¶
func (*Shell) DownloadFile ¶
func (*Shell) UploadFile ¶
Click to show internal directories.
Click to hide internal directories.