Difference between revisions of "Command Line Tools"

From Lianjapedia
Jump to: navigation, search
(lianja)
Line 5: Line 5:
  
 
==lianja <.lpk>==
 
==lianja <.lpk>==
 +
Install a [[Lianja Package Manager|Lianja package file]] and open it in the Lianja App Builder.
 +
 
<pre>lianja <.lpk filename></pre>
 
<pre>lianja <.lpk filename></pre>
 
Passing the name of a package file to the '''lianja''' command allows the package to be installed and opened in the Lianja App Builder.
 
Passing the name of a package file to the '''lianja''' command allows the package to be installed and opened in the Lianja App Builder.
Line 29: Line 31:
  
 
The App is then opened in the Lianja App Builder.
 
The App is then opened in the Lianja App Builder.
 +
 +
==lianja-lm==
 +
 +
==lianja-lpk==
 +
Install a [[Lianja Package Manager|Lianja package file]] or list its contents.
  
 
<pre>lianja-lpk list | install <.lpk filename> [<lOverwrite>]</pre>
 
<pre>lianja-lpk list | install <.lpk filename> [<lOverwrite>]</pre>
Line 52: Line 59:
 
$ lianja-lpk install doc_alias-1.0.lpk
 
$ lianja-lpk install doc_alias-1.0.lpk
 
$ lianja-lpk install doc_alias-1.0.lpk false</pre>
 
$ lianja-lpk install doc_alias-1.0.lpk false</pre>
 
==lianja-lm==
 
 
==lianja-lpk==
 
  
 
==lianja-comp==
 
==lianja-comp==

Revision as of 07:49, 11 February 2021

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>

Install a Lianja package file and open it in the Lianja App Builder.

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-lm

lianja-lpk

Install a Lianja package file or list its contents.

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-comp

lianjarun