From 0ac3a6e702701f6cd46f830cfe4b0a68b71958ed Mon Sep 17 00:00:00 2001 From: Jim Procter Date: Fri, 4 Mar 2022 15:26:03 +0000 Subject: [PATCH] JAL-3608 JAL-3830 simplified command line docs a bit --- help/help/html/features/commandline.html | 77 ++++++++++++++++++++---------- 1 file changed, 51 insertions(+), 26 deletions(-) diff --git a/help/help/html/features/commandline.html b/help/help/html/features/commandline.html index 0159a92..2ffe0bc 100644 --- a/help/help/html/features/commandline.html +++ b/help/help/html/features/commandline.html @@ -28,32 +28,52 @@

Jalview can be run from the command line, and provides a range of arguments. These arguments - can also be passed via .JVL files, which are opened - automatically by the Jalview application when double-clicked in a - file browser on Windows and OSX. + href="clarguments.html">range of arguments.

- -

From version 2.11.2, Jalview includes a launching shell script which is the recommended way to - launch an installed Jalview application from the command line. It supports all the command line arguments - that Jalview has previously supported, but makes it easier to launch directly from the command line.

+

There are a few different ways to do this:

+ +

+ Jalview's command line launch + script +

Since version 2.11.2, the Jalview native application includes a launching shell script. This is the easiest way to + launch an installed Jalview application from the command line.

To run the launch script, simply open a Terminal (or Command prompt on Windows), and type:

+  jalview
+

There are some important differences between the using the launching script and launching Jalview from its icon: +

+ + Adding the launch script to your path +

+ If typing 'jalview' in the terminal prompt (or windows command line) + doesn't work then you will need to add the location of the jalview + launch script to your + PATH.

+ How you do this depends on your operating system.

- -

If you installed Jalview prior to version 2.11.2 you will not have had the option to add the launching shell script to your PATH. - If your application has updated to 2.11.2 then the scripts will now be there, but not in your PATH. - There are instructions below to add the launching shell script to your PATH if you want to do so.

+ +

Older versions of Jalview

If you are using a version of Jalview prior to 2.11.2, you can still launch from the command line, but you will have to @@ -122,7 +147,7 @@

  • OSX Application:
    open /Applications/Jalview.app --args -open /FULL/PATH/TO/myalignment.fa
    - (put all the Jalview arguments after the --args parameter, and note that paths to files should be full paths from /) + (put all the Jalview arguments after the --args parameter, and note that all files must be specified with their full paths)

  • Jalview standalone executable Jar
    -- 
    1.7.10.2