modulepackage
0.0.0-20240907001148-ffd49061124a
Repository: https://github.com/gptscript-ai/cmd.git
Documentation: pkg.go.dev
# Packages
No description provided by the author
# Functions
Command populates a cobra.Command object by extracting args from struct tags of the Runnable obj passed.
No description provided by the author
No description provided by the author
No description provided by the author
RequestShutdown emulates a received event that is considered as shutdown signal (SIGTERM/SIGINT) This returns whether a handler was notified.
SetupSignalContext is same as SetupSignalHandler, but a context.Context is returned.
SetupSignalHandler registered for SIGTERM and SIGINT.
# Variables
No description provided by the author
# Interfaces
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author