Merge branch 'trunk' of github.com:cli/cli into jg/choose-codespace-prompt
This commit is contained in:
commit
017632d63d
12 changed files with 72 additions and 245 deletions
|
|
@ -6,6 +6,7 @@ type Codespace struct {
|
|||
Name string `json:"name"`
|
||||
CreatedAt string `json:"created_at"`
|
||||
LastUsedAt string `json:"last_used_at"`
|
||||
State string `json:"state"`
|
||||
GUID string `json:"guid"`
|
||||
Branch string `json:"branch"`
|
||||
RepositoryName string `json:"repository_name"`
|
||||
|
|
@ -14,6 +15,8 @@ type Codespace struct {
|
|||
Environment Environment `json:"environment"`
|
||||
}
|
||||
|
||||
const StateProvisioned = "provisioned"
|
||||
|
||||
// DisplayName returns the repository nwo and branch.
|
||||
// If includeName is true, the name of the codespace is included.
|
||||
// If includeGitStatus is true, the branch will include a star if
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue