Skip to content

Commit

Permalink
Define link-to and copy-from with handlers
Browse files Browse the repository at this point in the history
  • Loading branch information
clarsonneur committed Feb 5, 2019
1 parent 57e32d3 commit 3ff4835
Show file tree
Hide file tree
Showing 17 changed files with 538 additions and 467 deletions.
6 changes: 5 additions & 1 deletion app.go
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,7 @@ type ForjCurrentModel struct {
Name string
Deployment string
Data interface{}
Creds map[string]*creds.ObjectsValue
Creds map[string]*creds.Value
}

// Model is used to build a Model to use by text/templates
Expand Down Expand Up @@ -227,6 +227,10 @@ func (a *Forj) init() {
context.Flag(infra_path_f,
cmd.Flag(infra_path_f, infra_path_help)).Envar("FORJJ_INFRA").Short('W').String()
})

secrets.DefineGetters(&a.s)
secrets.DefineSetters(&a.s)

a.workspace.Init(a.app, &a.w, a.cli.IsParsePhase, func(context *forjjWorkspace.Context, cmd *kingpin.CmdClause) {
// Define Common flags required by ParseContext

Expand Down
69 changes: 0 additions & 69 deletions creds/forj_value.go

This file was deleted.

95 changes: 0 additions & 95 deletions creds/forj_value_test.go

This file was deleted.

178 changes: 0 additions & 178 deletions creds/objects_value.go

This file was deleted.

Loading

0 comments on commit 3ff4835

Please sign in to comment.