You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/spec-node/devContainersSpecCLI.ts
+15-1
Original file line number
Diff line number
Diff line change
@@ -94,6 +94,7 @@ function provisionOptions(y: Argv) {
94
94
'remote-env': {type: 'string',description: 'Remote environment variables of the format name=value. These will be added when executing the user commands.'},
95
95
'cache-from': {type: 'string',description: 'Additional image to use as potential layer cache during image building'},
96
96
'buildkit': {choices: ['auto'as'auto','never'as'never'],default: 'auto'as'auto',description: 'Control whether BuildKit should be used'},
97
+
'skip-feature-auto-mapping': {type: 'boolean',default: false,hidden: true,description: 'Temporary option for testing.'},
@@ -453,6 +459,7 @@ function runUserCommandsOptions(y: Argv) {
453
459
prebuild: {type: 'boolean',default: false,description: 'Stop after onCreateCommand and updateContentCommand, rerunning updateContentCommand if it has run before.'},
454
460
'stop-for-personalization': {type: 'boolean',default: false,description: 'Stop for personalization.'},
455
461
'remote-env': {type: 'string',description: 'Remote environment variables of the format name=value. These will be added when executing the user commands.'},
462
+
'skip-feature-auto-mapping': {type: 'boolean',default: false,hidden: true,description: 'Temporary option for testing.'},
@@ -541,6 +549,7 @@ async function doRunUserCommands({
541
549
useBuildKit: 'auto',
542
550
buildxPlatform: undefined,
543
551
buildxPush: false,
552
+
skipFeatureAutoMapping,
544
553
},disposables);
545
554
546
555
const{ common }=params;
@@ -599,6 +608,7 @@ function readConfigurationOptions(y: Argv) {
599
608
'terminal-columns': {type: 'number',implies: ['terminal-rows'],description: 'Number of rows to render the output for. This is required for some of the subprocesses to correctly render their output.'},
600
609
'terminal-rows': {type: 'number',implies: ['terminal-columns'],description: 'Number of columns to render the output for. This is required for some of the subprocesses to correctly render their output.'},
601
610
'include-features-configuration': {type: 'boolean',default: false,description: 'Include features configuration.'},
611
+
'skip-feature-auto-mapping': {type: 'boolean',default: false,hidden: true,description: 'Temporary option for testing.'},
602
612
});
603
613
}
604
614
@@ -619,6 +629,7 @@ async function readConfiguration({
@@ -690,6 +701,7 @@ function execOptions(y: Argv) {
690
701
'terminal-rows': {type: 'number',implies: ['terminal-columns'],description: 'Number of columns to render the output for. This is required for some of the subprocesses to correctly render their output.'},
691
702
'default-user-env-probe': {choices: ['none'as'none','loginInteractiveShell'as'loginInteractiveShell','interactiveShell'as'interactiveShell','loginShell'as'loginShell'],default: defaultDefaultUserEnvProbe,description: 'Default value for the devcontainer.json\'s "userEnvProbe".'},
692
703
'remote-env': {type: 'string',description: 'Remote environment variables of the format name=value. These will be added when executing the user commands.'},
704
+
'skip-feature-auto-mapping': {type: 'boolean',default: false,hidden: true,description: 'Temporary option for testing.'},
693
705
})
694
706
.positional('cmd',{
695
707
type: 'string',
@@ -746,6 +758,7 @@ export async function doExec({
0 commit comments