MCPcopy Create free account
hub / github.com/coder/coder / SlimUnsupported

Function SlimUnsupported

cli/root.go:1539–1547  ·  view source on GitHub ↗
(w io.Writer, cmd string)

Source from the content-addressed store, hash-verified

1537}
1538
1539func SlimUnsupported(w io.Writer, cmd string) {
1540 _, _ = fmt.Fprintf(w, "You are using a 'slim' build of Coder, which does not support the %s subcommand.\n", pretty.Sprint(cliui.DefaultStyles.Code, cmd))
1541 _, _ = fmt.Fprintln(w, "")
1542 _, _ = fmt.Fprintln(w, "Please use a build of Coder from GitHub releases:")
1543 _, _ = fmt.Fprintln(w, " https://github.com/coder/coder/releases")
1544
1545 //nolint:revive
1546 os.Exit(1)
1547}
1548
1549func defaultUpgradeMessage(version string) string {
1550 // Our installation script doesn't work on Windows, so instead we direct the user

Callers 3

scaletestCmdMethod · 0.85
resetPasswordMethod · 0.85
ServerMethod · 0.85

Calls 1

ExitMethod · 0.80

Tested by

no test coverage detected