This repository has been archived by the owner on Jun 13, 2021. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 176
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #726 from jcsirot/move-render-cmd-to-image
Move render command under image command
- Loading branch information
Showing
11 changed files
with
107 additions
and
88 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
package cliopts | ||
|
||
import ( | ||
"github.com/spf13/pflag" | ||
) | ||
|
||
// ParametersOptions are shared CLI options about docker app parameters | ||
type ParametersOptions struct { | ||
ParametersFiles []string | ||
Overrides []string | ||
} | ||
|
||
// AddFlags adds the shared CLI flags to the given flag set | ||
func (o *ParametersOptions) AddFlags(flags *pflag.FlagSet) { | ||
flags.StringArrayVar(&o.ParametersFiles, "parameters-file", []string{}, "Override parameters file") | ||
flags.StringArrayVarP(&o.Overrides, "set", "s", []string{}, "Override parameter value") | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.