command

package
v1.2.1 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2026 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Overview

Package command handles special commands for the interactive shell session.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Cd

func Cd(commandParameters []string, currentPath string) (structure.CommandPayload, error)

Cd creates a command payload to change the current working directory.

func Exit

func Exit()

Exit terminates the current session.

func Help

func Help(commandParameters []string) error

Help displays help information for commands.

func Ping

Ping creates a command payload to verify connection with the server.

func Pwd

func Pwd(currentWorkingDirectory string) structure.CommandPayload

Pwd requests the current working directory from the server.

Types

This section is empty.

Jump to

Keyboard shortcuts

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