Command Line Tools

From Lianjapedia
Revision as of 07:47, 11 February 2021 by Yvonne.milne (Talk | contribs)

Jump to: navigation, search

Under Construction

See Also

Background Tasks, Command Line Switches, COMPILE, Lianja Package Manager, Lianja Server Manager on Linux, Lianja Server Manager on Mac, License Management on Linux, License Management on Mac, Script Editor

lianja <.lpk>

lianja <.lpk filename>

Passing the name of a package file to the lianja command allows the package to be installed and opened in the Lianja App Builder.

It assumes that an App with the same name as the package is included in the package.

If it has already been installed and the version is the same then the App will be opened without being updated.

  • Windows
c:\lianja\bin>start /wait lianja c:\lianja\packages\doc_alias-1.0.lpk
  • Linux
$ lianja doc_alias-1.0.lpk
  • macOS
$ lianja doc_alias-1.0.lpk

The files from the package are listed in the terminal/command window as they are installed (Windows only).

If the package version of the App is already installed, a 'Package is already installed' message is displayed in the window.

The App is then opened in the Lianja App Builder.

lianja-lpk list | install <.lpk filename> [<lOverwrite>]

The lianja-lpk command can be used to list the contents of the specified package file or to install it.

By default the package file will be installed whether the App is already installed or not. If <lOverwrite> is false or .F., then an existing App will not be overwritten.

  • Windows
c:\lianja\bin>lianja-lpk list c:\lianja\packages\doc_alias-1.0.lpk
c:\lianja\bin>lianja-lpk install c:\lianja\packages\doc_alias-1.0.lpk
c:\lianja\bin>lianja-lpk install c:\lianja\packages\doc_alias-1.0.lpk false
  • Linux
$ lianja-lpk list doc_alias-1.0.lpk
$ lianja-lpk install doc_alias-1.0.lpk
$ lianja-lpk install doc_alias-1.0.lpk false
  • macOS
$ lianja-lpk list doc_alias-1.0.lpk
$ lianja-lpk install doc_alias-1.0.lpk
$ lianja-lpk install doc_alias-1.0.lpk false

lianja-lm

lianja-lpk

lianja-comp

lianjarun