The CLI accepts commands and parameters to communicate with Squore Server. Inside the installation folder, some scripts are provided as examples to create projects, save encrypted credentials to disk, and synchronise the client's configuration with the server.
There are two ways to contemplate the CLI deployment:
As a way to analyse code and process data on a client machine and send the results to the server.
As a way to instruct the server to carry out an analysis of code and other input data.
The following is a list of the officially supported operating systems for Squore CLI:
For a successful installation of Squore CLI, you will need:
The latest version of the Squore CLI installer, which can be downloaded from http://support.squoring.com/download_area.php
A user account with system administrator privileges
The Oracle Java Runtime Environment version 1.6.0_45 or higher
At least 2 GB of space available on the disk for a full installation
The java
executable should be in the machine's PATH environment variable.
A JRE is required. The Windows installer contains the tcl and perl runtimes needed. It will allow you to obtain the configuration needed to create projects from the server.
On Linux platforms, the following must be installed before installing Squore CLI:
Perl version 5.10.1 or greater including the following extra-modules:
Mandatory packages:
Archive::Zip [module details]
Algorithm::Diff [module details]
Date::Calc (since 14-A-SP2) [module details]
DBI [module details]
DBD::Pg [module details]
Digest::SHA [module details]
HTTP::Request [module details]
JSON [module details]
LWP::UserAgent [module details]
LWP::Protocol::https [module details]
Time::HiRes [module details]
XML::Parser [module details]
Optional packages for working with Microsoft Excel:
Spreadsheet::XLSX [module details]
Spreadsheet::WriteExcel [module details]
Spreadsheet::ParseExcel [module details]
Spreadsheet::BasicRead [module details]
HTML::Entities (since 14-A-SP3) [module details]
OLE::Storage_Lite::PPS [module details]
Digest::Perl::MD5 [module details]
Crypt::RC4 [module details]
Optional packages for working with OSLC systems:
HTML::TreeBuilder [module details]
HTTP::Server::Simple [module details]
HTTP::Server::Simple::CGI [module details]
WWW::Mechanize [module details]
Date::Parse [module details]
Date::Language [module details]
Date::Format [module details]
Time::Zone [module details]
If some of these modules are not available as packages on your operating system, use your perl installation's cpan to install the modules. Using the OS packages is recommended, as it avoids having to reinstall via cpan after upgrading your version of perl.
Tcl version 8.5 or greater