Help us shape the future of Go! Take the 2026 Go Developer Survey

cmd

package
v1.39.1 Latest Latest
Warning

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

Go to latest
Published: Jan 31, 2023 License: GPL-3.0 Imports: 55 Imported by: 0

Documentation

Overview

Package cmd constructs all subcommands for coder-cli.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func HasFilePathPrefix added in v1.23.0

func HasFilePathPrefix(s, prefix string) bool

HasFilePathPrefix reports whether the filesystem path s begins with the elements in prefix. Lifted from github.com/golang/go/blob/master/src/cmd/internal/str/path.go.

func Make

func Make() *cobra.Command

Make constructs the "coder" root command.

Types

This section is empty.

Jump to

Keyboard shortcuts

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