blob: 727fa712a42023a48e5f805b8c0523c637325a28 [file] [log] [blame]
cue eval -t env=staging -t name=bar
cmp stdout expect-stdout
-- expect-stdout --
var: {
env: "staging"
name: "bar"
}
-- tags.cue --
package tags
var: env: "prod" | "staging" @tag(env,short=prod|staging)
var: name: string @tag(name)
// This is prohibited as for now.
// foo: [string]: string @tag(all)
// foo: bar: string