Skip to content

Commit

Permalink
Update CommandLineInterface.rst
Browse files Browse the repository at this point in the history
  • Loading branch information
fladd authored Jun 4, 2024
1 parent 841c214 commit e5eefbd
Showing 1 changed file with 40 additions and 28 deletions.
68 changes: 40 additions & 28 deletions CommandLineInterface.rst
Original file line number Diff line number Diff line change
Expand Up @@ -2,40 +2,52 @@ Command line interface
======================

The Expyriment command line interface provides a convenient way to run
experiment scripts and apply default settings, as well as access to a
selection of other common functionality.
experiment scripts and apply default settings, as well as access to a selection
of other common functionality. Note: non-capitalized letter arguments are
(chainable) options, capitalized letter arguments run single commands.

Usage
-----

::
expyriment [-h] [-g] [-1] [-2] [-3] [-t] [-w] [-f] [-a] [-i] [-d] [-b]
[-C] [-D] [-J] [-R] [-S] [-T] [-A] [-B] [--version]
[SCRIPT]
expyriment [-h] [-0] [-1] [-2] [-3] [-a] [-d] [-f] [-i] [-t] [-w]
[--display INDEX] [--display-resolution WIDTHxHEIGHT]
[--opengl MODE] [--window-size WIDTHxHEIGHT] [-A] [-B] [-C] [-D]
[-I] [-J] [-S] [-T] [SCRIPT]

positional arguments:
SCRIPT The expyriment script to be executed
SCRIPT the experiment script to be executed

optional arguments:
-h, --help show this help message and exit
-g, -0 No OpenGL (no vsync / no blocking)
-1 OpenGL (vsync / no blocking)
-2 OpenGL (vsync / blocking)
-3 OpenGL (vsync / alternative blocking)
-t No time stamps for output files
-w Window mode
-f Fast mode (no initialize delay and fast quitting)
-a Auto create subject ID
-i Intensive logging (log level 2)
-d Develop mode (equivalent to -wfat)
-b Alternative blocking mode (blocking mode 2)
-C Create experiment template
-D Download from Expyriment stash
-J Join data files to one single csv file
-R Join data files and create R data frame (in RDS file)
-S Print system information
-T Run the Expyriment Test Suite
-A Start the Expyriment API Reference Tool
-B Open browser with API reference
--version Print version
options:
-h, --help show this help message and exit
-0, -g, --no-opengl DEPRECATED: no OpenGL (no vsync / no blocking)
-1, --no-blocking DEPRECATED: OpenGL (vsync / no blocking)
-2, --blocking DEPRECATED: OpenGL (vsync / blocking)
-3, --alternative-blocking
DEPRECATED: OpenGL (vsync / alternative blocking)
-a, --auto-subject-id
auto create subject ID
-d, --develop-mode develop mode (equivalent to -wfat)
-f, --fast-mode fast mode (no initialize delay and fast quitting)
-i, --intensive-logging
intensive logging (log level 2)
-t, --no-time-stamps no time stamps for output files
-w, --window-mode window mode
--display INDEX show the screen on specific display (multi-monitor
setting)
--display-resolution WIDTHxHEIGHT
set the display resolution (only in fullscreen mode)
--opengl MODE set the OpenGL mode: 0 = No OpenGL (no vsync / no
blocking), 1 = OpenGL (vsync / no blocking), 2 = OpenGL
(vsync / blocking)
--window-size WIDTHxHEIGHT
set the window size (only in window mode)
-A, --Api start the API reference tool
-B, --Browser-api open browser with API reference
-C, --Create-exp create experiment template
-D, --Download-stash download from Expyriment stash
-I, --Interactive start an interactive session
-J, --Join-data join data files to one single csv file
-S, --System-info print system information
-T, --Test-suite run the Expyriment test suite

0 comments on commit e5eefbd

Please sign in to comment.