Rename the cmd pkg to codespace
This commit is contained in:
parent
93cea6d370
commit
d02876e6ea
12 changed files with 15 additions and 15 deletions
|
|
@ -1,4 +1,4 @@
|
|||
package ghcs
|
||||
package codespace
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
|
|
|||
|
|
@ -1,6 +1,6 @@
|
|||
package ghcs
|
||||
package codespace
|
||||
|
||||
// This file defines functions common to the entire ghcs command set.
|
||||
// This file defines functions common to the entire codespace command set.
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
package ghcs
|
||||
package codespace
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
package ghcs
|
||||
package codespace
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
package ghcs
|
||||
package codespace
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
package ghcs
|
||||
package codespace
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
package ghcs
|
||||
package codespace
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
// Code generated by moq; DO NOT EDIT.
|
||||
// github.com/matryer/moq
|
||||
|
||||
package ghcs
|
||||
package codespace
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
|
|
|||
|
|
@ -1,7 +1,7 @@
|
|||
// Code generated by moq; DO NOT EDIT.
|
||||
// github.com/matryer/moq
|
||||
|
||||
package ghcs
|
||||
package codespace
|
||||
|
||||
import (
|
||||
"sync"
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
package ghcs
|
||||
package codespace
|
||||
|
||||
import (
|
||||
"bytes"
|
||||
|
|
@ -79,7 +79,7 @@ func (a *App) ListPorts(ctx context.Context, codespaceName string, asJSON bool)
|
|||
|
||||
devContainerResult := <-devContainerCh
|
||||
if devContainerResult.err != nil {
|
||||
// Warn about failure to read the devcontainer file. Not a ghcs command error.
|
||||
// Warn about failure to read the devcontainer file. Not a codespace command error.
|
||||
_, _ = a.logger.Errorf("Failed to get port names: %v\n", devContainerResult.err.Error())
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
package ghcs
|
||||
package codespace
|
||||
|
||||
import (
|
||||
"github.com/spf13/cobra"
|
||||
|
|
@ -8,7 +8,7 @@ var version = "DEV" // Replaced in the release build process (by GoReleaser or H
|
|||
|
||||
func NewRootCmd(app *App) *cobra.Command {
|
||||
root := &cobra.Command{
|
||||
Use: "ghcs",
|
||||
Use: "codespace",
|
||||
SilenceUsage: true, // don't print usage message after each error (see #80)
|
||||
SilenceErrors: false, // print errors automatically so that main need not
|
||||
Long: `Unofficial CLI tool to manage GitHub Codespaces.
|
||||
|
|
|
|||
|
|
@ -1,4 +1,4 @@
|
|||
package ghcs
|
||||
package codespace
|
||||
|
||||
import (
|
||||
"context"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue