()
| 172 | } |
| 173 | |
| 174 | func (bf *buildFlags) cliOptions() []serpent.Option { |
| 175 | return []serpent.Option{ |
| 176 | { |
| 177 | Flag: "provisioner-log-debug", |
| 178 | Description: `Sets the provisioner log level to debug. |
| 179 | This will print additional information about the build process. |
| 180 | This is useful for troubleshooting build issues.`, |
| 181 | Value: serpent.BoolOf(&bf.provisionerLogDebug), |
| 182 | Hidden: true, |
| 183 | }, |
| 184 | { |
| 185 | Flag: "reason", |
| 186 | Description: `Sets the reason for the workspace build (cli, vscode_connection, jetbrains_connection).`, |
| 187 | Value: serpent.EnumOf( |
| 188 | &bf.reason, |
| 189 | string(codersdk.BuildReasonCLI), |
| 190 | string(codersdk.BuildReasonVSCodeConnection), |
| 191 | string(codersdk.BuildReasonJetbrainsConnection), |
| 192 | ), |
| 193 | Default: string(codersdk.BuildReasonCLI), |
| 194 | Hidden: true, |
| 195 | }, |
| 196 | } |
| 197 | } |
no outgoing calls
no test coverage detected