MCPcopy Create free account
hub / github.com/DBCDK/morph / nixBuildTargetFlag

Function nixBuildTargetFlag

morph.go:121–124  ·  view source on GitHub ↗
(cmd *kingpin.CmdClause)

Source from the content-addressed store, hash-verified

119}
120
121func nixBuildTargetFlag(cmd *kingpin.CmdClause) {
122 cmd.Flag("target", "A Nix lambda defining the build target to use instead of the default").
123 StringVar(&nixBuildTarget)
124}
125
126func nixBuildTargetFileFlag(cmd *kingpin.CmdClause) {
127 cmd.Flag("target-file", "File containing a Nix attribute set, defining build targets to use instead of the default").

Callers 1

buildCmdFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected