Enso new command line options. #5704
wdanilo
announced in
Announcements
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi! We are pleased to inform you that Enso has undergone a recent update that introduces new command-line options. Please note that this update constitutes a breaking change, and it will be necessary to adjust the usage of the existing flags accordingly. It is worth emphasizing, however, that all of the previous options remain available; they have simply been reorganized and renamed for clarity and ease of use. A complete listing of the common options can be obtained by invoking
Enso --help
, while a comprehensive list of all options is available by runningEnso --help-extended
. For your convenience, we have included a list of the options below:Top Level Options
General application switches. For fine-grained control, see the available option groups.
-help
false
-help-extended
false
-version
false
Loader Options
Options for the application loader, which downloads assets, compiles WASM code, and runs entry points.
-loader.download-to-init-ratio
1.0
. For larger apps, it is desirable to show the progress bar up to70%
and leave the last30%
for WASM app init.1
-loader.js-url
ensogl-pack
.pkg.js
-loader.shaders-url
shaders
-loader.spinner
true
-loader.wasm-url
ensogl-pack
.pkg.wasm
Startup Options
Options for controlling the application behavior at startup, such as selecting the entry point to run.
-startup.entry
'_'
to list available entry points.ide
-startup.max-before-main-time-ms
300
-startup.platform
web
if run in the browser, operating system name otherwise-startup.project
Style Options
The available visual and tactile configurations of the application.
-style.node-labels
true
Feature Preview Options
Options that enable experimental features that are not yet stable.
-feature-preview.new-component-browser
true
-feature-preview.skip-and-freeze
false
-feature-preview.theme
light
Window Options
The visual and tactile configurations of the application window.
-window
true
-window.close-to-quit
false
on MacOS,true
otherwise-window.frame
false
on MacOS,true
otherwise-window.size
1380x900
-window.vibrancy
false
Server Options
The configuration settings for the server utilized in delivering web application to either Electron or a browser
window.
-server
false
, connect to an existing server on the provided port.true
-server.port
8080
Engine Options
Options that control the Enso Engine, the data processing backend.
-engine
-engine.config-url
https://raw.githubusercontent.com/enso-org/ide/develop/config.json
-engine.data-url
rpcUrl
,namespace
, andproject
options. They enable Enso to connect directly to an already-spawned Language Server of some project.-engine.namespace
local
-engine.preferred-version
-engine.project-manager-path
-engine.project-manager-url
-engine.rpc-url
dataUrl
,namespace
, andproject
options. They enable Enso to connect directly to an already-spawned Language Server of some project.-engine.skip-min-version-check
true
in local builds,false
otherwisePerformance Options
Performance-related configuration options.
-performance.angle-backend
default
-performance.background-throttling
true
-performance.disable-gpu-sandbox
true
-performance.disable-gpu-vsync
true
-performance.disable-sandbox
true
-performance.disable-smooth-scrolling
true
-performance.enable-native-gpu-memory-buffers
true
-performance.force-high-performance-gpu
true
-performance.ignore-gpu-blocklist
true
Debug Options
Options allowing checking for diagnosing application errors.
-debug
showLogs
.false
-debug.dev-tools
false
-debug.enable-spector
false
-debug.info
false
-debug.verbose
false
Profile Options
Options for diagnosing application performance problems.
-profile.emit-user-timing-measurements
User Timing Web API
, which can be viewed using standard developer tools. Note that this mode significantly affects performance.false
-profile.load-profile
profiling-run-graph
entry point.-profile.save-profile
profiling-run-graph
entry point, such asenso -startup.entry=profiling-run-graph -profile.load-profile=profile.json
.-profile.workflow
-profile.workflow=help
. This option must be used with-startup.entry=profile
.Authentication Options
Options to manage application authentication properties.
-authentication
true
-authentication.email
Data Collection Options
Controls the collection of anonymous usage data.
-data-collection
true
-data-collection.crash-reports
-data-collection.usage-statistics
true
Chrome Options
Chrome and Electron command line options. Please be advised that the provided list contains both Electron-specific
options as well as a selection of Chrome command line options that are officially supported by Electron
(https://www.electronjs.org/docs/latest/api/command-line-switches). It is important to note that not all Chrome
switches may be compatible with Electron. For example, the switch '-chrome.crash-test' is not functional in the
Electron environment. For a comprehensive collection of Chrome options, you may refer to
https://peter.sh/experiments/chromium-command-line-switches.
WARNING: Neither the option names nor values undergo validation by Chrome due to the lack of an option validation
API. This may result in the acceptance of invalid options, which will be silently ignored. To verify the successful
passing of options to Chrome, the use of '-chrome.disable-gpu' can be employed as a diagnostic measure, effectively
preventing the display of WebGL canvas.
As there are many Chrome options, they were skipped in this document.
Beta Was this translation helpful? Give feedback.
All reactions