Skip to content

Commit

Permalink
Removing env and secret cmd and edit variable cmd (#24)
Browse files Browse the repository at this point in the history
  • Loading branch information
jcanizalez authored Oct 5, 2021
1 parent 25f814a commit 765967a
Show file tree
Hide file tree
Showing 17 changed files with 60 additions and 485 deletions.
12 changes: 12 additions & 0 deletions client/models/variable.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,18 @@ type VariableAttributes struct {

// value
Value string `json:"value,omitempty"`

// description
Description string `json:"description,omitempty"`

// category
Category string `json:"category,omitempty"`

// sensitive
Sensitive bool `json:"sensitive,omitempty"`

// hcl
Hcl bool `json:"hcl,omitempty"`
}

type VariableRelationships struct {
Expand Down
20 changes: 0 additions & 20 deletions cmd/environment.go

This file was deleted.

58 changes: 0 additions & 58 deletions cmd/environment_create.go

This file was deleted.

46 changes: 0 additions & 46 deletions cmd/environment_delete.go

This file was deleted.

52 changes: 0 additions & 52 deletions cmd/environment_list.go

This file was deleted.

62 changes: 0 additions & 62 deletions cmd/environment_update.go

This file was deleted.

7 changes: 4 additions & 3 deletions cmd/module.go
Original file line number Diff line number Diff line change
Expand Up @@ -26,9 +26,10 @@ It can be used to create, update, delete and list modules.
`

var moduleCmd = &cobra.Command{
Use: "module create|update|delete|list [ARGS]",
Short: "create, update, delete and list modules",
Long: moduleLong,
Use: "module create|update|delete|list [ARGS]",
Short: "create, update, delete and list modules",
Long: moduleLong,
Aliases: []string{"mod"},
}

func init() {
Expand Down
20 changes: 0 additions & 20 deletions cmd/secret.go

This file was deleted.

58 changes: 0 additions & 58 deletions cmd/secret_create.go

This file was deleted.

Loading

0 comments on commit 765967a

Please sign in to comment.