// Package ws holds the ws-test commands: "serve" runs the plain TCP server // for websocket hub clients, and "dial" tests the HTTP server's /ws endpoint. package ws import ( "github.com/spf13/cobra" "git.avsdev.uk/Go/job-search/internal/cli" ) // NewCommands returns the ws-test commands, "serve" and "dial". func NewCommands(opts *cli.Options) []*cobra.Command { return []*cobra.Command{ commandServe(opts), commandDial(opts), } }