cmd

package
v10.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 18, 2023 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func StartCmd

func StartCmd() *cli.Command

The function defines a CLI command to start a server with various flags and options, including the ability to run as a daemon.

func StopCmd

func StopCmd() *cli.Command

The function defines a CLI command to stop a server by reading a lock file, killing the process with the corresponding PID, and removing the lock file.

func VersionCmd

func VersionCmd(v string) *cli.Command

This function creates a CLI command that prints the version number.

Types

This section is empty.

Jump to

Keyboard shortcuts

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