UNPKG

code-server

Version:

Run VS Code on a remote server.

1 lines 1.02 MB
(()=>{var e={4534:(e,t,n)=>{var i={"./apt":28,"./apt.ts":28,"./brew":8507,"./brew.ts":8507,"./cat":6519,"./cat.ts":6519,"./chmod":6190,"./chmod.ts":6190,"./chown":6074,"./chown.ts":6074,"./cp":8024,"./cp.ts":8024,"./curl":6733,"./curl.ts":6733,"./df":3173,"./df.ts":3173,"./du":628,"./du.ts":628,"./echo":8386,"./echo.ts":8386,"./find":5220,"./find.ts":5220,"./git":2339,"./git.ts":2339,"./grep":6707,"./grep.ts":6707,"./head":6709,"./head.ts":6709,"./kill":4228,"./kill.ts":4228,"./killall":1636,"./killall.ts":1636,"./less":9578,"./less.ts":9578,"./ls":346,"./ls.ts":346,"./mkdir":3016,"./mkdir.ts":3016,"./more":8490,"./more.ts":8490,"./mv":4640,"./mv.ts":4640,"./nano":1485,"./nano.ts":1485,"./node":1375,"./node.ts":1375,"./npm":5234,"./npm.ts":5234,"./nvm":1056,"./nvm.ts":1056,"./pnpm":8110,"./pnpm.ts":8110,"./ps":3150,"./ps.ts":3150,"./pwd":5860,"./pwd.ts":5860,"./python":7421,"./python.ts":7421,"./python3":3460,"./python3.ts":3460,"./rm":6950,"./rm.ts":6950,"./rmdir":4327,"./rmdir.ts":4327,"./scp":3513,"./scp.ts":3513,"./ssh":2449,"./ssh.ts":2449,"./tail":9197,"./tail.ts":9197,"./top":1012,"./top.ts":1012,"./touch":5476,"./touch.ts":5476,"./uname":1799,"./uname.ts":1799,"./vim":4180,"./vim.ts":4180,"./wget":8632,"./wget.ts":8632,"./yarn":2961,"./yarn.ts":2961};function a(e){var t=o(e);return n(t)}function o(e){if(!n.o(i,e)){var t=new Error("Cannot find module '"+e+"'");throw t.code="MODULE_NOT_FOUND",t}return i[e]}a.keys=function(){return Object.keys(i)},a.resolve=o,e.exports=a,a.id=4534},8874:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"cd",description:"Change the shell working directory",args:{name:"folder",template:"folders",suggestions:[{name:"-",description:"Switch to the last used folder",hidden:!0}]}}},1334:function(e,t,n){"use strict";var i,a=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,a)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(i=function(e){return i=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},i(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=i(e),s=0;s<n.length;s++)"default"!==n[s]&&a(t,e,n[s]);return o(t,e),t});Object.defineProperty(t,"__esModule",{value:!0});const r=s(n(2008)),l={...r.default,name:"code-insiders",description:"Visual Studio Code Insiders",options:[...r.commonOptions,...(0,r.extensionManagementOptions)("code-insiders"),...(0,r.troubleshootingOptions)("code-insiders")]};t.default=l},6207:function(e,t,n){"use strict";var i,a=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,a)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(i=function(e){return i=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},i(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=i(e),s=0;s<n.length;s++)"default"!==n[s]&&a(t,e,n[s]);return o(t,e),t});Object.defineProperty(t,"__esModule",{value:!0});const r=n(2008),l=s(n(487)),c={...l.default,name:"code-tunnel-insiders",description:"Create a tunnel that's accessible on vscode.dev from anywhere, with insider features.",subcommands:[...r.codeTunnelSubcommands,r.extTunnelSubcommand],options:[...r.commonOptions,...(0,r.extensionManagementOptions)("code-tunnel-insiders"),...(0,r.troubleshootingOptions)("code-tunnel-insiders"),...r.globalTunnelOptions,...r.codeTunnelOptions,...l.codeTunnelSpecOptions]};t.default=c},487:function(e,t,n){"use strict";var i,a=this&&this.__createBinding||(Object.create?function(e,t,n,i){void 0===i&&(i=n);var a=Object.getOwnPropertyDescriptor(t,n);a&&!("get"in a?!t.__esModule:a.writable||a.configurable)||(a={enumerable:!0,get:function(){return t[n]}}),Object.defineProperty(e,i,a)}:function(e,t,n,i){void 0===i&&(i=n),e[i]=t[n]}),o=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,"default",{enumerable:!0,value:t})}:function(e,t){e.default=t}),s=this&&this.__importStar||(i=function(e){return i=Object.getOwnPropertyNames||function(e){var t=[];for(var n in e)Object.prototype.hasOwnProperty.call(e,n)&&(t[t.length]=n);return t},i(e)},function(e){if(e&&e.__esModule)return e;var t={};if(null!=e)for(var n=i(e),s=0;s<n.length;s++)"default"!==n[s]&&a(t,e,n[s]);return o(t,e),t});Object.defineProperty(t,"__esModule",{value:!0}),t.codeTunnelSpecOptions=void 0;const r=s(n(2008));t.codeTunnelSpecOptions=[{name:"--cli-data-dir",description:"Directory where CLI metadata should be stored",isRepeatable:!0,args:{name:"cli_data_dir",isOptional:!0}},{name:"--log-to-file",description:"Log to a file in addition to stdout. Used when running as a service",hidden:!0,isRepeatable:!0,args:{name:"log_to_file",isOptional:!0,template:"filepaths"}},{name:"--log",description:"Log level to use",isRepeatable:!0,args:{name:"log",isOptional:!0,suggestions:["trace","debug","info","warn","error","critical","off"]}},{name:"--telemetry-level",description:"Sets the initial telemetry level",hidden:!0,isRepeatable:!0,args:{name:"telemetry_level",isOptional:!0,suggestions:["off","crash","error","all"]}},{name:"--verbose",description:"Print verbose output (implies --wait)"},{name:"--disable-telemetry",description:"Disable telemetry for the current command, even if it was previously accepted as part of the license prompt or specified in '--telemetry-level'"},{name:["-h","--help"],description:"Print help"}];const l={...r.default,name:"code-tunnel",description:"Create a tunnel that's accessible on vscode.dev from anywhere.",subcommands:[...r.codeTunnelSubcommands,r.extTunnelSubcommand],options:[...r.commonOptions,...(0,r.extensionManagementOptions)("code-tunnel"),...(0,r.troubleshootingOptions)("code-tunnel"),...r.globalTunnelOptions,...r.codeTunnelOptions]};t.default=l},2008:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.codeTunnelSubcommands=t.extTunnelSubcommand=t.codeTunnelOptions=t.globalTunnelOptions=t.tunnelHelpOptions=t.commonAuthOptions=t.troubleshootingOptions=t.extensionManagementOptions=t.commonOptions=void 0,t.createCodeGenerators=a,t.parseInstalledExtensions=o;const i=n(2341);function a(e){return{script:[e,"--list-extensions","--show-versions"],postProcess:o}}function o(e){return e.split("\n").filter(Boolean).map((e=>{const[t,n]=e.split("@");return{name:t,type:"option",description:`Version: ${n}`}}))}t.commonOptions=[{name:"-",description:"Read from stdin (e.g. 'ps aux | grep code | code -')"},{name:["-d","--diff"],description:"Compare two files with each other",args:[{name:"file",template:"filepaths"},{name:"file",template:"filepaths"}]},{name:["-m","--merge"],description:"Perform a three-way merge by providing paths for two modified versions of a file, the common origin of both modified versions and the output file to save merge results",args:[{name:"path1",template:"filepaths"},{name:"path2",template:"filepaths"},{name:"base",template:"filepaths"},{name:"result",template:"filepaths"}]},{name:["-a","--add"],description:"Add folder(s) to the last active window",args:{name:"folder",template:"folders",isVariadic:!0}},{name:["-g","--goto"],description:"Open a file at the path on the specified line and character position",args:{name:"file:line[:character]",template:"filepaths"}},{name:["-n","--new-window"],description:"Force to open a new window"},{name:["-r","--reuse-window"],description:"Force to open a file or folder in an already opened window"},{name:["-w","--wait"],description:"Wait for the files to be closed before returning"},{name:"--locale",description:"The locale to use (e.g. en-US or zh-TW)",args:{name:"locale",suggestions:[{name:"en",icon:"🇺🇸",description:"English (US)"},{name:"zh-CN",icon:"🇨🇳",description:"Simplified Chinese"},{name:"zh-TW",icon:"🇹🇼",description:"Traditional Chinese"},{name:"fr",icon:"🇫🇷",description:"French"},{name:"de",icon:"🇩🇪",description:"German"},{name:"it",icon:"🇮🇹",description:"Italian"},{name:"es",icon:"🇪🇸",description:"Spanish"},{name:"ja",icon:"🇯🇵",description:"Japanese"},{name:"ko",icon:"🇰🇷",description:"Korean"},{name:"ru",icon:"🇷🇺",description:"Russian"},{name:"bg",icon:"🇧🇬",description:"Bulgarian"},{name:"hu",icon:"🇭🇺",description:"Hungarian"},{name:"pt-br",icon:"🇧🇷",description:"Portuguese (Brazil)"},{name:"tr",icon:"🇹🇷",description:"Turkish"}]}},{name:"--user-data-dir",description:"Specifies the directory that user data is kept in. Can be used to open multiple distinct instances of Code",args:{name:"dir",template:"folders"}},{name:"--profile",description:"Opens the provided folder or workspace with the given profile and associates the profile with the workspace. If the profile does not exist, a new empty one is created. A folder or workspace must be provided for the profile to take effect",args:{name:"settingsProfileName"}},{name:["-h","--help"],description:"Print usage"},{name:"--locate-shell-integration-path",description:"Print the path to the shell integration script for the provided shell",args:{isOptional:!1,name:"shell",description:"The shell to locate the integration script for",suggestions:["bash","fish","pwsh","zsh"]}}],t.extensionManagementOptions=e=>[{name:"--extensions-dir",description:"Set the root path for extensions",args:{name:"dir",template:"folders"}},{name:"--list-extensions",description:"List the installed extensions"},{name:"--show-versions",description:"Show versions of installed extensions, when using --list-extensions"},{name:"--category",description:"Filters installed extensions by provided category, when using --list-extensions",args:{name:"category",suggestions:["azure","data science","debuggers","extension packs","education","formatters","keymaps","language packs","linters","machine learning","notebooks","programming languages","scm providers","snippets","testing","themes","visualization","other"]}},{name:"--install-extension",description:"Installs or updates an extension. The argument is either an extension id or a path to a VSIX. The identifier of an extension is '${ publisher }.${ name }'. Use '--force' argument to update to latest version. To install a specific version provide '@${version}'. For example: 'vscode.csharp@1.2.3'",args:{name:"extension-id[@version] | path-to-vsix",generators:[a(e),(0,i.filepaths)({extensions:["vsix"]})]}},{name:"--pre-release",description:"Installs the pre-release version of the extension, when using --install-extension"},{name:"--uninstall-extension",description:"Uninstalls an extension",args:{name:"extension-id",generators:a(e)}},{name:"--enable-proposed-api",description:"Enables proposed API features for extensions. Can receive one or more extension IDs to enable individually"}],t.troubleshootingOptions=e=>[{name:["-v","--version"],description:"Print version"},{name:"--verbose",description:"Print verbose output (implies --wait)"},{name:"--log",description:"Log level to use. Default is 'info' when unspecified",args:{name:"level",default:"info",suggestions:["critical","error","warn","info","debug","trace","off"]}},{name:["-s","--status"],description:"Print process usage and diagnostics information"},{name:"--prof-startup",description:"Run CPU profiler during startup"},{name:"--disable-extensions",description:"Disable all installed extensions"},{name:"--disable-extension",description:"Disable an extension",args:{name:"extension-id",generators:a(e)}},{name:"--sync",description:"Turn sync on or off",args:{name:"sync",description:"Whether to enable sync",suggestions:["on","off"]}},{name:"--inspect-extensions",description:"Allow debugging and profiling of extensions. Check the developer tools for the connection URI",args:{name:"port"}},{name:"--inspect-brk-extensions",description:"Allow debugging and profiling of extensions with the extension host being paused after start. Check the developer tools for the connection URI",args:{name:"port"}},{name:"--disable-gpu",description:"Disable GPU hardware acceleration"},{name:"--max-memory",description:"Max memory size for a window (in Mbytes)",args:{name:"memory",description:"Memory in megabytes"}},{name:"--telemetry",description:"Shows all telemetry events which VS code collects"}],t.commonAuthOptions=[{name:"--access-token",description:"An access token to store for authentication",isRepeatable:!0,args:{name:"access_token",isOptional:!0}},{name:"--refresh-token",description:"An access token to store for authentication",isRepeatable:!0,args:{name:"refresh_token",isOptional:!0}},{name:"--provider",description:"The auth provider to use. If not provided, a prompt will be shown",isRepeatable:!0,args:{name:"provider",isOptional:!0,suggestions:["microsoft","github"]}}],t.tunnelHelpOptions=[{name:["-h","--help"],description:"Print help"}],t.globalTunnelOptions=[{name:"--cli-data-dir",description:"Directory where CLI metadata should be stored",args:{name:"cli_data_dir"}},{name:"--verbose",description:"Print verbose output (implies --wait)"},{name:"--log",description:"Log level to use",isRepeatable:!0,args:{name:"log",isOptional:!0,suggestions:["trace","debug","info","warn","error","critical","off"]}}],t.codeTunnelOptions=[{name:"--extensions-dir",description:"Set the root path for extensions",isRepeatable:!0,args:{name:"extensions_dir",isOptional:!0}},{name:"--user-data-dir",description:"Specifies the directory that user data is kept in. Can be used to open multiple distinct instances of the editor",isRepeatable:!0,args:{name:"user_data_dir",isOptional:!0}},{name:"--use-version",description:"Sets the editor version to use for this command. The preferred version can be persisted with `code version use <version>`. Can be 'stable', 'insiders', a version number, or an absolute path to an existing install",isRepeatable:!0,args:{name:"use_version",isOptional:!0}}],t.extTunnelSubcommand={name:"ext",description:"Manage editor extensions",subcommands:[{name:"list",description:"List installed extensions",options:[...t.globalTunnelOptions,...t.tunnelHelpOptions,{name:"--category",description:"Filters installed extensions by provided category, when using --list-extensions",isRepeatable:!0,args:{name:"category",isOptional:!0}},{name:"--show-versions",description:"Show versions of installed extensions, when using --list-extensions"}]},{name:"install",description:"Install an extension",options:[...t.globalTunnelOptions,...t.tunnelHelpOptions,{name:"--pre-release",description:"Installs the pre-release version of the extension"},{name:"--donot-include-pack-and-dependencies",description:"Don't include installing pack and dependencies of the extension"},{name:"--force",description:"Update to the latest version of the extension if it's already installed"}],args:{name:"ext-id | id",isVariadic:!0,isOptional:!0}},{name:"uninstall",description:"Uninstall an extension",options:[...t.globalTunnelOptions,...t.tunnelHelpOptions],args:{name:"ext-id | id",isVariadic:!0,isOptional:!0}},{name:"update",description:"Update the installed extensions",options:[...t.globalTunnelOptions,...t.tunnelHelpOptions]}],...t.globalTunnelOptions,...t.codeTunnelOptions},t.codeTunnelSubcommands=[{name:"tunnel",description:"Create a tunnel that's accessible on vscode.dev from anywhere. Run`code tunnel --help` for more usage info",subcommands:[{name:"prune",description:"Delete all servers which are currently not running",options:[...t.globalTunnelOptions,...t.tunnelHelpOptions]},{name:"kill",description:"Stops any running tunnel on the system",options:[...t.globalTunnelOptions,...t.tunnelHelpOptions]},{name:"restart",description:"Restarts any running tunnel on the system",options:[...t.globalTunnelOptions,...t.tunnelHelpOptions]},{name:"status",description:"Gets whether there is a tunnel running on the current machine",options:[...t.globalTunnelOptions,...t.tunnelHelpOptions]},{name:"rename",description:"Rename the name of this machine associated with port forwarding service",options:[...t.globalTunnelOptions,...t.tunnelHelpOptions],args:{name:"name"}},{name:"status",description:"Print process usage and diagnostics information",options:[...t.globalTunnelOptions,...t.tunnelHelpOptions]},{name:"unregister",description:"Remove this machine's association with the port forwarding service",options:[...t.globalTunnelOptions,...t.tunnelHelpOptions]},{name:"user",subcommands:[{name:"login",description:"Log in to port forwarding service",options:[...t.globalTunnelOptions,...t.tunnelHelpOptions,...t.commonAuthOptions]},{name:"logout",description:"Log out of port forwarding service",options:[...t.globalTunnelOptions,...t.tunnelHelpOptions]},{name:"show",description:"Show the account that's logged into port forwarding service",options:[...t.globalTunnelOptions,...t.tunnelHelpOptions]},{name:"help",description:"Print this message or the help of the given subcommand(s)",subcommands:[{name:"login",description:"Log in to port forwarding service"},{name:"logout",description:"Log out of port forwarding service"},{name:"show",description:"Show the account that's logged into port forwarding service"},{name:"help",description:"Print this message or the help of the given subcommand(s)"}]}]},{name:"service",description:"(Preview) Manages the tunnel when installed as a system service,",subcommands:[{name:"install",description:"Installs or re-installs the tunnel service on the machine",options:[{name:"--name",description:"Sets the machine name for port forwarding service",args:{name:"name"}},{name:"--accept-server-license-terms",description:"If set, the user accepts the server license terms and the server will be started without a user prompt"},...t.globalTunnelOptions,...t.tunnelHelpOptions]},{name:"uninstall",description:"Uninstalls and stops the tunnel service",options:[...t.globalTunnelOptions,...t.tunnelHelpOptions]},{name:"log",description:"Shows logs for the running service",options:[...t.globalTunnelOptions,...t.tunnelHelpOptions]},{name:"help",description:"Print this message or the help of the given subcommand(s)",subcommands:[{name:"install",description:"Installs or re-installs the tunnel service on the machine"},{name:"uninstall",description:"Uninstalls and stops the tunnel service"},{name:"log",description:"Shows logs for the running service"},{name:"help",description:"Print this message or the help of the given subcommand(s)"}]}],options:[...t.globalTunnelOptions,...t.tunnelHelpOptions]},{name:"help",description:"Print this message or the help of the given subcommand(s)",subcommands:[{name:"prune",description:"Delete all servers which are currently not running"},{name:"kill",description:"Stops any running tunnel on the system"},{name:"restart",description:"Restarts any running tunnel on the system"},{name:"status",description:"Gets whether there is a tunnel running on the current machine"},{name:"rename",description:"Rename the name of this machine associated with port forwarding service"},{name:"unregister",description:"Remove this machine's association with the port forwarding service"},{name:"user",subcommands:[{name:"login",description:"Log in to port forwarding service"},{name:"logout",description:"Log out of port forwarding service"},{name:"show",description:"Show the account that's logged into port forwarding service"}]},{name:"service",description:"(Preview) Manages the tunnel when installed as a system service,",subcommands:[{name:"install",description:"Installs or re-installs the tunnel service on the machine"},{name:"uninstall",description:"Uninstalls and stops the tunnel service"},{name:"log",description:"Shows logs for the running service"}]},{name:"help",description:"Print this message or the help of the given subcommand(s)"}]}],options:[{name:"--install-extension",description:"Requests that extensions be preloaded and installed on connecting servers",isRepeatable:!0,args:{name:"install_extension",isOptional:!0}},{name:"--server-data-dir",description:"Specifies the directory that server data is kept in",isRepeatable:!0,args:{name:"server_data_dir",isOptional:!0}},{name:"--extensions-dir",description:"Set the root path for extensions",isRepeatable:!0,args:{name:"extensions_dir",isOptional:!0}},{name:"--user-data-dir",description:"Specifies the directory that user data is kept in. Can be used to open multiple distinct instances of the editor",isRepeatable:!0,args:{name:"user_data_dir",isOptional:!0}},{name:"--use-version",description:"Sets the editor version to use for this command. The preferred version can be persisted with `code version use <version>`. Can be 'stable', 'insiders', a version number, or an absolute path to an existing install",isRepeatable:!0,args:{name:"use_version",isOptional:!0}},{name:"--random-name",description:"Randomly name machine for port forwarding service"},{name:"--no-sleep",description:"Prevents the machine going to sleep while this command runs"},{name:"--accept-server-license-terms",description:"If set, the user accepts the server license terms and the server will be started without a user prompt"},{name:"--name",description:"Sets the machine name for port forwarding service",isRepeatable:!0,args:{name:"name",isOptional:!0}},{name:["-h","--help"],description:"Print help"},{name:"--log",description:"Log level to use",isRepeatable:!0,args:{name:"log",isOptional:!0,suggestions:["trace","debug","info","warn","error","critical","off"]}},{name:"--verbose",description:"Print verbose output (implies --wait)"},{name:"--cli-data-dir",description:"Directory where CLI metadata should be stored",args:{name:"cli_data_dir"}}]},{name:"status",description:"Print process usage and diagnostics information"},{name:"version",description:"Changes the version of the editor you're using",options:t.globalTunnelOptions},{name:"serve-web",description:"Runs a local web version of Code - OSS",options:[{name:"--host",description:"Host to listen on, defaults to 'localhost'",isRepeatable:!0,args:{name:"host",isOptional:!0}},{name:"--socket-path",isRepeatable:!0,args:{name:"socket_path",isOptional:!0}},{name:"--port",description:"Port to listen on. If 0 is passed a random free port is picked",isRepeatable:!0,args:{name:"port",isOptional:!0}},{name:"--connection-token",description:"A secret that must be included with all requests",isRepeatable:!0,args:{name:"connection_token",isOptional:!0}},{name:"--connection-token-file",description:"A file containing a secret that must be included with all requests",isRepeatable:!0,args:{name:"connection_token_file",isOptional:!0}},{name:"--server-base-path",description:"Specifies the path under which the web UI and the code server is provided",isRepeatable:!0,args:{name:"server_base_path",isOptional:!0}},{name:"--server-data-dir",description:"Specifies the directory that server data is kept in",isRepeatable:!0,args:{name:"server_data_dir",isOptional:!0}},{name:"--without-connection-token",description:"Run without a connection token. Only use this if the connection is secured by other means"},{name:"--accept-server-license-terms",description:"If set, the user accepts the server license terms and the server will be started without a user prompt"},...t.globalTunnelOptions,...t.tunnelHelpOptions]},{name:"help",description:"Print this message or the help of the given subcommand(s)",subcommands:[{name:"tunnel",description:"Create a tunnel that's accessible on vscode.dev from anywhere. Run`code tunnel --help` for more usage info",subcommands:[{name:"prune",description:"Delete all servers which are currently not running"},{name:"kill",description:"Stops any running tunnel on the system"},{name:"restart",description:"Restarts any running tunnel on the system"},{name:"status",description:"Gets whether there is a tunnel running on the current machine"},{name:"rename",description:"Rename the name of this machine associated with port forwarding service"},{name:"unregister",description:"Remove this machine's association with the port forwarding service"},{name:"user",subcommands:[{name:"login",description:"Log in to port forwarding service"},{name:"logout",description:"Log out of port forwarding service"},{name:"show",description:"Show the account that's logged into port forwarding service"}]},{name:"service",description:"(Preview) Manages the tunnel when installed as a system service,",subcommands:[{name:"install",description:"Installs or re-installs the tunnel service on the machine"},{name:"uninstall",description:"Uninstalls and stops the tunnel service"},{name:"log",description:"Shows logs for the running service"}]}]},t.extTunnelSubcommand,{name:"status",description:"Print process usage and diagnostics information"},{name:"version",description:"Changes the version of the editor you're using",subcommands:[{name:"use",description:"Switches the version of the editor in use"},{name:"show",description:"Shows the currently configured editor version"}]},{name:"serve-web",description:"Runs a local web version of Code - OSS"},{name:"command-shell",description:"Runs the control server on process stdin/stdout",hidden:!0},{name:"update",description:"Updates the CLI"},{name:"help",description:"Print this message or the help of the given subcommand(s)"}]}];const s={name:"code",description:"Visual Studio Code",args:{template:["filepaths","folders"],isVariadic:!0},subcommands:t.codeTunnelSubcommands,options:[...t.commonOptions,...(0,t.extensionManagementOptions)("code"),...(0,t.troubleshootingOptions)("code")]};t.default=s},8719:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"npx",description:"Execute binaries from npm packages",args:{name:"command",isCommand:!0,generators:{script:["bash","-c","until [[ -d node_modules/ ]] || [[ $PWD = '/' ]]; do cd ..; done; ls -1 node_modules/.bin/"],postProcess:function(e){return e.split("\n").map((e=>({name:e,icon:"fig://icon?type=command",loadSpec:e})))}},isOptional:!0},options:[{name:["--package","-p"],description:"Package to be installed",args:{name:"package"}},{name:"--cache",args:{name:"path",template:"filepaths"},description:"Location of the npm cache"},{name:"--always-spawn",description:"Always spawn a child process to execute the command"},{name:"-y",description:"Execute npx command without prompting for confirmation"},{description:"Skip installation if a package is missing",name:"--no-install"},{args:{name:"path",template:"filepaths"},description:"Path to user npmrc",name:"--userconfig"},{name:["--call","-c"],args:{name:"script"},description:"Execute string as if inside `npm run-script`"},{name:["--shell","-s"],description:"Shell to execute the command with, if any",args:{name:"shell",suggestions:[{name:"bash"},{name:"fish"},{name:"zsh"}]}},{args:{name:"shell-fallback",suggestions:[{name:"bash"},{name:"fish"},{name:"zsh"}]},name:"--shell-auto-fallback",description:'Generate shell code to use npx as the "command not found" fallback'},{name:"--ignore-existing",description:"Ignores existing binaries in $PATH, or in the localproject. This forces npx to do a temporary install and use the latest version"},{name:["--quiet","-q"],description:"Suppress output from npx itself. Subcommands will not be affected"},{name:"--npm",args:{name:"path to binary",template:"filepaths"},description:"Npm binary to use for internal operations"},{args:{},description:"Extra node argument when calling a node binary",name:["--node-arg","-n"]},{description:"Show version number",name:["--version","-v"]},{description:"Show help",name:["--help","-h"]}]}},5189:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),t.default={name:"Set-Location",description:"Change the shell working directory",args:{name:"folder",template:"folders",suggestions:[{name:"-",description:"Go to previous directory in history stack",hidden:!0},{name:"+",description:"Go to next directory in history stack",hidden:!0}]}}},28:(e,t,n)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const i=n(2341),a={trigger:(e,t)=>0===e.length||0===t.length&&e.length>0,custom:async(e,t)=>{const n=e[e.length-1];if(0===n.length)return[];const{stdout:i}=await t({command:"apt",args:["list"]});return i.trim().split("\n").filter((e=>e.startsWith(n))).map((e=>e.replace(/\/.*/,""))).map((e=>({name:e,description:"Package",icon:"📦",priority:50})))}},o={script:["apt","list","--installed"],postProcess:function(e){return e.trim().split("\n").map((e=>({name:e.substring(0,e.indexOf("/")),description:"Package",icon:"📦"})))}},s=[{name:"-y",description:"Assume yes to all prompts",exclusiveOn:["--assume-no"]},{name:"--assume-no",description:"Assume no to all prompts",exclusiveOn:["-y"]}],r=[{name:["-d","--download-only"],description:"For any operation that would download packages, download them, but do nothing else"},{name:"--no-download",description:"Do not download packages, attempt to use already downloaded packages"}],l=[{name:["-s","--simulate"],description:"Simulate running this command and show it's output, without actually changing anything"}],c={name:"apt",description:"Package manager for Debian-based Linux distributions",subcommands:[{name:"update",description:"Update the package database",options:[...s]},{name:"upgrade",description:"Install all available upgrades",args:{name:"package",description:"Package(s) to upgrade",isVariadic:!0,isOptional:!0,generators:{script:["apt","list","--upgradable"],postProcess:function(e){return e.trim().split("\n").map((e=>({name:e.substring(0,e.indexOf("/")),description:"Package",icon:"📦"})))}}},options:[...r,...s,...l]},{name:"full-upgrade",description:"Install available upgrades, removing currently installed packages if needed to upgrade the system as a whole",options:[...r,...s,...l]},{name:"install",description:"Install package(s)",args:{name:"package",description:"The package you want to install",isVariadic:!0,generators:[a,(0,i.filepaths)({extensions:["deb"]})]},options:[...r,...s,...l,{name:"--reinstall",description:"Reinstall the package if it is already installed"},{name:["-f","--fix-broken"],description:"Attempt to fix broken packages"}]},{name:"reinstall",description:"Reinstall package(s)",args:{name:"package",description:"The package you want to reinstall",isVariadic:!0,generators:o},options:[...s,...l]},{name:"remove",description:"Remove package(s)",args:{name:"package",description:"The package you want to remove",isVariadic:!0,generators:o},options:[...s,...l,{name:["-f","--fix-broken"],description:"Attempt to fix broken packages"}]},{name:"purge",description:"Remove package(s) and their configuration files",args:{name:"package",description:"The package you want to purge",isVariadic:!0,generators:o},options:[...s,...l]},{name:["autoremove","auto-remove"],description:"Remove unused packages",options:[...s,...l]},{name:"list",description:"List packages",options:[{name:"--installed",description:"List installed packages"},{name:"--upgradable",description:"List upgradable packages"}]},{name:"search",description:"Search for packages",args:{name:"query",description:"The query to search for"},options:[...s]},{name:"show",description:"Show package details",args:{name:"package",description:"The package you want to show",generators:a}},{name:"satisfy",description:"Satisfy package dependencies",args:{name:"package",description:"The package you want to satisfy",isVariadic:!0,generators:a},options:[...r,...s,...l]},{name:"clean",description:"Remove downloaded package files",options:[...s,...l]},{name:"edit-sources",description:"Edit the list of package sources",options:[...s]},{name:"source",description:"Fetch package source files",args:{name:"package",description:"The package you want to get source files for",isVariadic:!0,generators:a},options:[...r,...s,...l,{name:"--compile",description:"Compile the package to a binary using dpkg-buildpackage"},{name:"--only-source"},{name:"--host-architecture",description:"The architecture to build for",args:{name:"architecture",description:"The architecture to build for"}}]},{name:"build-dep",description:"Install/remove packages in an attempt to satisfy the build dependencies for a source package",args:{name:"package",description:"The package you want to build dependencies for",generators:a},options:[...r,...s,...l,{name:"--host-architecture",description:"The architecture to build for",args:{name:"architecture",description:"The architecture to build for"}},{name:"--only-source"}]},{name:"download",description:"Download package binary into the current directory",args:{name:"package",description:"The package you want to download",generators:a},options:[...r,...s]},{name:["autoclean","auto-clean"],description:"Like clean, but only removes package files that can no longer be downloaded",options:[...r,...s,...l]},{name:"changelog",description:"Show the changelog for a package",args:{name:"package",description:"The package you want to show the changelog for",generators:a,isVariadic:!0},options:[...r,...s]}],options:[{name:["-h","--help"],description:"Print help message and exit",isPersistent:!0,priority:40},{name:["-v","--version"],description:"Print version information and exit",isPersistent:!0,priority:40}]};t.default=c},8507:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0});const n=e=>({script:["bash","-c","brew services list | sed -e 's/ .*//' | tail -n +2"],postProcess:function(t){return t.split("\n").filter((e=>!e.includes("unbound"))).map((t=>({name:t,icon:"fig://icon?type=package",description:`${e} ${t}`})))}}),i={script:["brew","list","-1"],postProcess:function(e){return e.split("\n").filter((e=>!e.includes("="))).map((e=>({name:e,icon:"🍺",description:"Installed formula"})))}},a={script:["brew","formulae"],postProcess:function(e){return e.split("\n").map((e=>({name:e,icon:"🍺",description:"Formula",priority:51})))}},o={script:["brew","casks"],postProcess:function(e){return e.split("\n").map((e=>({name:e,icon:"🍺",description:"Cask",priority:52})))}},s={script:["bash","-c",'find ~/.brew-aliases/ -type f ! -name "*.*" -d 1 | sed "s/.*\\///"'],postProcess:function(e){return e.split("\n").filter((e=>e&&""!==e.trim())).map((e=>({name:e,icon:"fig://icon?type=command",description:`Execute alias ${e}`})))}},r=[{name:["-d","--debug"],description:"Display any debugging information"},{name:["-q","--quiet"],description:"Make some output more quiet"},{name:["-v","--verbose"],description:"Make some output more verbose"},{name:["-h","--help"],description:"Show help message"}],l={name:"brew",description:"Package manager for macOS",subcommands:[{name:"list",description:"List all installed formulae",options:[...r,{name:["--formula","--formulae"],description:"List only formulae, or treat all named arguments as formulae"},{name:["--cask","--casks"],description:"List only casks, or treat all named arguments as casks"},{name:"--unbrewed",description:"List files in Homebrew's prefix not installed by Homebrew. (disabled; replaced by brew --prefix --unbrewed)"},{name:"--full-name",description:"Print formulae with fully-qualified names. Unless --full-name, --versions or"},{name:"--pinned",description:"List only pinned formulae, or only the specified (pinned) formulae if formula are provided"},{name:"--versions",description:"Show the version number for installed formulae, or only the specified formulae if formula are provided"},{name:"--multiple",description:"Only show formulae with multiple versions installed"},{name:"--pinned",description:"List only pinned formulae, or only the specified (pinned) formulae if formula are provided. See also pin, unpin"},{name:"-1",description:"Force output to be one entry per line. This is the default when output is not to a terminal"},{name:"-l",description:"List formulae and/or casks in long format. Has no effect when a formula or cask name is passed as an argument"},{name:"-r",description:"Reverse the order of the formulae and/or casks sort to list the oldest entries first. Has no effect when a formula or cask name is passed as an argument"},{name:"-t",description:"Sort formulae and/or casks by time modified, listing most recently modified first. Has no effect when a formula or cask name is passed as an argument"}],args:{isOptional:!0,isVariadic:!0,name:"formula",generators:i}},{name:"ls",description:"List all installed formulae",options:[...r,{name:"--formula",description:"List only formulae, or treat all named arguments as formulae"},{name:"--cask",description:"List only casks, or treat all named arguments as casks"},{name:"--unbrewed",description:"List files in Homebrew's prefix not installed by Homebrew. (disabled; replaced by brew --prefix --unbrewed)"},{name:"--full-name",description:"Print formulae with fully-qualified names. Unless --full-name, --versions or"},{name:"--pinned",description:"List only pinned formulae, or only the specified (pinned) formulae if formula are provided"},{name:"--versions",description:"Show the version number for installed formulae, or only the specified formulae if formula are provided"},{name:"--multiple",description:"Only show formulae with multiple versions installed"},{name:"--pinned",description:"List only pinned formulae, or only the specified (pinned) formulae if formula are provided"},{name:"-1",description:"Force output to be one entry per line. This is the default when output is not to a terminal"},{name:"-l",description:"List formulae and/or casks in long format. Has no effect when a formula or cask name is passed as an argument"},{name:"-r",description:"Reverse the order of the formulae and/or casks sort to list the oldest entries first. Has no effect when a formula or cask name is passed as an argument"},{name:"-t",description:"Sort formulae and/or casks by time modified, listing most recently modified first. Has no effect when a formula or cask name is passed as an argument"}],args:{isOptional:!0,isVariadic:!0,name:"formula",generators:i}},{name:"leaves",description:"List installed formulae that are not dependencies of another installed formula",options:[{name:["-r","--installed-on-request"],description:"Show manually installed formula"},{name:["-p","--installed-as-dependency"],description:"Show installed formula as dependencies"}]},{name:"doctor",description:"Check your system for potential problems",options:[...r,{name:"--list-checks",description:"List all audit methods"},{name:["-D","--audit-debug"],description:"Enable debugging and profiling of audit methods"}]},{name:["abv","info"],description:"Display brief statistics for your Homebrew installation",args:{isVariadic:!0,isOptional:!0,name:"formula",description:"Formula or cask to summarize",generators:[a,o]},options:[{name:["--cask","--casks"],description:"List only casks, or treat all named arguments as casks"},{name:"--analytics",description:"List global Homebrew analytics data or, if specified, installation and build error data for formula"},{name:"--days",description:"How many days of analytics data to retrieve",exclusiveOn:["--analytics"],args:{name:"days",description:"Number of days of data to retrieve",suggestions:["30","90","365"]}},{name:"--category",description:"Which type of analytics data to retrieve",exclusiveOn:["--analytics"],args:{generators:{custom:async e=>e.slice(2,e.length-1).some((e=>"-"!==e[0]))?["install","install-on-request","build-error"].map((e=>({name:e}))):["cask-install","os-version"].map((e=>({name:e})))}}},{name:"--github",description:"Open the GitHub source page for formula in a browser"},{name:"--json",description:"Print a JSON representation"},{name:"--installed",exclusiveOn:["--json"],description:"Print JSON of formulae that are currently installed"},{name:"--all",exclusiveOn:["--json"],description:"Print JSON of all available formulae"},{name:["-v","--verbose"],description:"Show more verbose analytics data for formulae"},{name:"--formula",description:"Treat all named arguments as formulae"},{name:"--cash",description:"Treat all named arguments as casks"},{name:["-d","--debug"],description:"Display any debugging information"},{name:["-q","--quiet"],description:"List only the names of outdated kegs"},{name:["-h","--help"],description:"Get help with services command"}]},{name:"update",description:"Fetch the newest version of Homebrew and all formulae",options:[{name:["-f","--force"],description:"Always do a slower, full update check"},{name:["-v","--verbose"],description:"Print the directories checked and git operations performed"},{name:["-d","--debug"],description:"Display a trace of all shell commands as they are executed"},{name:["-h","--help"],description:"Show help message"},{name:"--merge",description:"Use git merge to apply updates (rather than git rebase)"},{name:"--preinstall",description:"Run on auto-updates (e.g. before brew install). Skips some slower steps"}]},{name:"outdated",description:"List installed casks and formulae that have an updated version available",options:[{name:["-d","--debug"],description:"Display any debugging information"},{name:["-q","--quiet"],description:"List only the names of outdated kegs"},{name:["-v","--verbose"],description:"Include detailed version information"},{name:["-h","--help"],description:"Show help message for the outdated command"},{name:"--cask",description:"List only outdated casks"},{name:"--fetch-HEAD",description:"Fetch the upstream repository to detect if the HEAD installation of the formula is outdated"},{name:"--formula",description:"List only outdated formulae"},{name:"--greedy",description:"Print outdated casks with auto_updates or version :latest"},{name:"--greedy-latest",description:"Print outdated casks including those with version :latest"},{name:"--greedy-auto-updates",description:"Print outdated casks including those with auto_updates true"},{name:"--json",description:"Print output in JSON format"}]},{name:"pin",description:"Pin formula, preventing them from being upgraded",options:r,args:{isVariadic:!0,name:"formula",generators:i}},{name:"unpin",description:"Unpin formula, allowing them to be upgraded",options:r,args:{isVariadic:!0,name:"formula",generators:i}},{name:"upgrade",description:"Upgrade outdated casks and outdated, unpinned formulae using the same options they were originally installed with, plus any appended brew formula options",options:[{name:["-d","--debug"],description:"If brewing fails, open an interactive debugging session with access to IRB or a shell inside the temporary build directory"},{name:["-f","--force"],description:"Install formulae without checking for previously installed keg-only or non-migrated versions. When installing casks, overwrite existing files (binaries and symlinks are excluded, unless originally from the same cask)"},{name:["-v","--verbose"],description:"Print the verification and postinstall steps"},{name:["-n","--dry-run"],description:"Show what would be upgraded, but do not actually upgrade anything"},{name:["-s","--build-from-source"],description:"Compile formula from source even if a bottle is provided. Dependencies will still be installed from bottles if they are available"},{name:["-i","--interactive"],description:"Download and patch formula, then open a shell"},{name:["-g","--git"],description:"Create a Git repository"},{name:["-q","--quiet"],description:"Make some output more quiet"},{name:["-h","--help"],description:"Show this message"},{name:["--formula","--formulae"],description:"Treat all named arguments as formulae. If no named arguments are specified, upgrade only outdated formulae"},{name:"--env",description:"Disabled other than for internal Homebrew use"},{name:"--ignore-dependencies",description:"An unsupported Homebrew development flag to skip installing any dependencies of any kind. If the dependencies are not already present, the formula will have issues. If you're not developing Homebrew, consider adjusting your PATH rather than using this flag"},{name:"--only-dependencies",description:"Install the dependencies with specified options but do not install the formula itself"},{name:"--cc",description:"Attempt to compile using the specified compiler, which should be the name of the compiler's executable",args:{name:"compiler",suggestions:["gcc-7","llvm_clang","clang"]}},{name:"--force-bottle",description:"Install from a bottle if it exists for the current or newest version of macOS, even if it would not normally be used for installation"},{name:"--include-test",description:"Install testing dependencies required to run brew test formula"},{name:"--HEAD",description:"If formula defines it, install the HEAD version, aka. main, trunk, unstable, master"},{name:"--fetch-HEAD",description:"Fetch the upstream repository to detect if the HEAD installation of the formula is outdated. Otherwise, the repository's HEAD will only be checked for updates when a new stable or development version has been released"},{name:"--ignore-pinned",description:"Set a successful exit status even if pinned formulae are not upgraded"},{name:"--keep-tmp",description:"Retain the temporary files created during installation"},{name:"--build-bottle",description:"Prepare the formula for eventual bottling during installation, skipping any post-install steps"},{name:"--bottle-arch",description:"Optimise bottles for the specified architecture rather than the oldest architecture supported by the version of macOS the bottles are built on"},{name:"--display-times",description:"Print install times for each formula at the end of the run"},{name:["--cask","--casks"],description:"Treat all named arguments as casks. If no named arguments are specified, upgrade only outdated casks"},{name:"--binaries",description:"Disable/enable linking of helper executables (default: enabled)",exclusiveOn:["--no-binaries"]},{name:"--no-binaries",description:"Disable/enable linking of helper executables (default: enabled)",exclusiveOn:["--binaries"]},{name:"--require-sha",description:"Require all casks to have a checksum"},{name:"--quarantine",description:"Disable/enable quarantining of downloads (default: enabled)",exclusiveOn:["--no-quarantine"]},{name:"--no-quarantine",description:"Disable/enable quarantining of downloads (default: enabled)",exclusiveOn:["--quarantine"]},{name:"--skip-cask-deps",description:"Skip installing cask dependencies"},{name:"--greedy",description:"Also include casks with auto_updates true or version :latest",exclusiveOn:["--greedy-latest","--greedy-auto-updates"]},{name:"--greedy-latest",description:"Also include casks with version :latest"},{name:"--greedy-auto-updates",description:"Also include casks with auto_updates true"},{name:"--appdir",description:"Target location for Applications (default: /Applications)",args:{name:"location",template:"folders"}},{name:"--colorpickerdir",description:"Target location for Color Pickers (default: ~/Library/ColorPickers)",args:{name:"location",template:"folders"}},{name:"--prefpanedir",description:"Target location for Preference Panes (default: ~/Library/PreferencePanes)",args:{name:"location",template:"folders"}},{name:"--qlplugindir",description:"Target location for QuickLook Plugins (default: ~/Library/QuickLook)",args:{name:"location",template:"folders"}},{name:"--mdimporterdir",description:"Target location for Spotlight Plugins (default: ~/Library/Spotlight)",args:{name:"location",template:"folders"}},{name:"--dictionarydir",description:"Target location for Dictionaries (default: ~/Library/Dictionaries)",args:{name:"location",template:"folders"}},{name:"--fontdir",description:"Target location for Fonts (default: ~/Library/Fonts)",args:{name:"location",template:"folders"}},{name:"--servicedir",description:"Target location for Services (default: ~/Library/Services)",args:{name:"location",template:"folders"}},{name:"--input-methoddir",description:"Target location for Input Methods (default: ~/Library/Input Methods)",args:{name:"location",template:"folders"}},{name:"--internet-plugindir",description:"Target location for Internet Plugins (default: ~/Library/Internet Plug-Ins)",args:{name:"location",template:"folders"}},{name:"--audio-unit-plugindir",description:"Target location for Audio Unit Plugins (default: ~/Library/Audio/Plug-Ins/Components)",args:{name:"location",template:"folders"}},{name:"--vst-plugindir",description:"Target location for VST Plugins (default: ~/Library/Audio/Plug-Ins/VST)",args:{name:"location",template:"folders"}},{name:"--vst3-plugindir",description:"Target location for VST3 Plugins (default: ~/Library/Audio/Plug-Ins/VST3)",args:{name:"location",template:"folders"}},{name:"--screen-saverdir",description:"Target location for Screen Savers (default: ~/Library/Screen Savers)",args:{name:"location",template:"folders"}},{name:"--language",description:"Comma-separated list of language codes to prefer for cask installation. The first matching language is used, otherwise it reverts to the cask's default language. The default value is the language of your system"}],args:{isVariadic:!0,isOptional:!0,name:"outdated_formula|outdated_cask",generators:{script:["brew","outdated","-q"],postProcess:function(e){return e.split("\n").map((e=>({name:e,icon:"🍺",description:"Outdated formula"})))}}}},{name:"search",description:"Perform a substring search of cask tokens and formula names",options:[...r,{name:"--formula",description:"Search online and locally for formulae"},{name:"--cask",description:"Search online and locally for casks"},{name:"--desc",description:"Search for formulae with a description matching text and casks with a name matching text"},{name:"--pull-request",description: