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
'container-data-folder': {type: 'string',description: 'Container data folder where user data inside the container will be stored.'},
105
105
'container-system-data-folder': {type: 'string',description: 'Container system data folder where system data inside the container will be stored.'},
106
-
'workspace-folder': {type: 'string',description: 'Workspace folder path. The devcontainer.json will be looked up relative to this path.'},
106
+
'workspace-folder': {type: 'string',description: 'Workspace folder path. The devcontainer.json will be looked up relative to this path.',default: '.',defaultDescription: 'Current Working Directory'},
107
107
'workspace-mount-consistency': {choices: ['consistent'as'consistent','cached'as'cached','delegated'as'delegated'],default: 'cached'as'cached',description: 'Workspace mount consistency.'},
108
108
'gpu-availability': {choices: ['all'as'all','detect'as'detect','none'as'none'],default: 'detect'as'detect',description: 'Availability of GPUs in case the dev container requires any. `all` expects a GPU to be available.'},
109
109
'mount-workspace-git-root': {type: 'boolean',default: true,description: 'Mount the workspace using its Git root.'},
'container-data-folder': {type: 'string',description: 'Container data folder where user data inside the container will be stored.'},
748
748
'container-system-data-folder': {type: 'string',description: 'Container system data folder where system data inside the container will be stored.'},
749
-
'workspace-folder': {type: 'string',description: 'Workspace folder path. The devcontainer.json will be looked up relative to this path.'},
749
+
'workspace-folder': {type: 'string',description: 'Workspace folder path. The devcontainer.json will be looked up relative to this path.',default: '.',defaultDescription: 'Current Working Directory'},
750
750
'mount-workspace-git-root': {type: 'boolean',default: true,description: 'Mount the workspace using its Git root.'},
751
751
'container-id': {type: 'string',description: 'Id of the container to run the user commands for.'},
752
752
'id-label': {type: 'string',description: 'Id label(s) of the format name=value. If no --container-id is given the id labels will be used to look up the container. If no --id-label is given, one will be inferred from the --workspace-folder path.'},
@@ -831,7 +831,7 @@ async function doRunUserCommands({
'workspace-folder': {type: 'string',description: 'Workspace folder path. The devcontainer.json will be looked up relative to this path.'},
948
+
'workspace-folder': {type: 'string',description: 'Workspace folder path. The devcontainer.json will be looked up relative to this path.',default: '.',defaultDescription: 'Current Working Directory'},
949
949
'mount-workspace-git-root': {type: 'boolean',default: true,description: 'Mount the workspace using its Git root.'},
950
950
'container-id': {type: 'string',description: 'Id of the container to run the user commands for.'},
951
951
'id-label': {type: 'string',description: 'Id label(s) of the format name=value. If no --container-id is given the id labels will be used to look up the container. If no --id-label is given, one will be inferred from the --workspace-folder path.'},
@@ -1000,7 +1000,7 @@ async function readConfiguration({
@@ -1095,7 +1095,7 @@ async function readConfiguration({
1095
1095
functionoutdatedOptions(y: Argv){
1096
1096
returny.options({
1097
1097
'user-data-folder': {type: 'string',description: 'Host path to a directory that is intended to be persisted and share state between sessions.'},
1098
-
'workspace-folder': {type: 'string',description: 'Workspace folder path. The devcontainer.json will be looked up relative to this path.'},
1098
+
'workspace-folder': {type: 'string',description: 'Workspace folder path. The devcontainer.json will be looked up relative to this path.',default: '.',defaultDescription: 'Current Working Directory'},
1099
1099
'config': {type: 'string',description: 'devcontainer.json path. The default is to use .devcontainer/devcontainer.json or, if that does not exist, .devcontainer.json in the workspace folder.'},
'log-level': {choices: ['info'as'info','debug'as'debug','trace'as'trace'],default: 'info'as'info',description: 'Log level for the --terminal-log-file. When set to trace, the log level for --log-file will also be set to trace.'},
'container-data-folder': {type: 'string',description: 'Container data folder where user data inside the container will be stored.'},
1199
1199
'container-system-data-folder': {type: 'string',description: 'Container system data folder where system data inside the container will be stored.'},
1200
-
'workspace-folder': {type: 'string',description: 'Workspace folder path. The devcontainer.json will be looked up relative to this path.'},
1200
+
'workspace-folder': {type: 'string',description: 'Workspace folder path. The devcontainer.json will be looked up relative to this path.',default: '.',defaultDescription: 'Current Working Directory'},
1201
1201
'mount-workspace-git-root': {type: 'boolean',default: true,description: 'Mount the workspace using its Git root.'},
1202
1202
'container-id': {type: 'string',description: 'Id of the container to run the user commands for.'},
1203
1203
'id-label': {type: 'string',description: 'Id label(s) of the format name=value. If no --container-id is given the id labels will be used to look up the container. If no --id-label is given, one will be inferred from the --workspace-folder path.'},
@@ -1277,7 +1277,7 @@ export async function doExec({
1277
1277
letoutput: Log|undefined;
1278
1278
constisTTY=process.stdin.isTTY&&process.stdout.isTTY||logFormat==='json';// If stdin or stdout is a pipe, we don't want to use a PTY.
0 commit comments