github.com/solo-io/cue@v0.4.7/pkg/tool/os/doc.go (about) 1 // Code generated by cue get go. DO NOT EDIT. 2 3 // Package os defines tasks for retrieving os-related information. 4 // 5 // CUE definitions: 6 // 7 // // A Value are all possible values allowed in flags. 8 // // A null value unsets an environment variable. 9 // Value: bool | number | *string | null 10 // 11 // // Name indicates a valid flag name. 12 // Name: !="" & !~"^[$]" 13 // 14 // // Setenv defines a set of command line flags, the values of which will be set 15 // // at run time. The doc comment of the flag is presented to the user in help. 16 // // 17 // // To define a shorthand, define the shorthand as a new flag referring to 18 // // the flag of which it is a shorthand. 19 // Setenv: { 20 // $id: "tool/os.Setenv" 21 // 22 // {[Name]: Value} 23 // } 24 // 25 // // Getenv gets and parses the specific command line variables. 26 // Getenv: { 27 // $id: "tool/os.Getenv" 28 // 29 // {[Name]: Value} 30 // } 31 // 32 // // Environ populates a struct with all environment variables. 33 // Environ: { 34 // $id: "tool/os.Environ" 35 // 36 // // A map of all populated values. 37 // // Individual entries may be specified ahead of time to enable 38 // // validation and parsing. Values that are marked as required 39 // // will fail the task if they are not found. 40 // {[Name]: Value} 41 // } 42 // 43 // // Clearenv clears all environment variables. 44 // Clearenv: { 45 // $id: "tool/os.Clearenv" 46 // } 47 // 48 package os