clio 3.0.1.8

There is a newer version of this package available.
See the version list below for details.
dotnet tool install --global clio --version 3.0.1.8
This package contains a .NET tool you can call from the shell/command line.
dotnet new tool-manifest # if you are setting up this repo
dotnet tool install --local clio --version 3.0.1.8
This package contains a .NET tool you can call from the shell/command line.
#tool dotnet:?package=clio&version=3.0.1.8
nuke :add-package clio --version 3.0.1.8

Introduction

Command Line Interface clio is the utility for integration Creatio platform with development and CI/CD tools.

Installation and features

You can download release binaries from latest release. Unpack the archive with clio.

Run with docker

Build

docker build -f ./install/Dockerfile -t clio .

Run

docker run -it --rm clio help
docker run -it --rm clio reg-web-app -help

Content table

Arguments

  • <PACKAGE_NAME> - package name
  • <ENVIRONMENT_NAME> - environment name
  • <COMMAND_NAME> - clio command name

Register and unregister

Windows

To register clio as the global tool, run the command:

dotnet tool install clio

you can register clio for all users:

dotnet tool install clio -g

To unregister clio as the global tool, run the command:

dotnet tool uninstall clio

or for all users:

dotnet tool uninstall clio -g

More information you can see in .NET Core Global Tools overview.

Context menu

clio register

https://user-images.githubusercontent.com/26967647/169416137-351674ca-0bd2-44f1-83af-df4557bd02fd.mp4

clio unregister

MacOS

  1. Download .net core for mac
  2. Download and extract clio release
  3. Register clio folder in PATH system variables

Execute these command in terminal

cd ~/clio folder/
chmod 755 clio

Execute command in terminal for success check

clio help

Help and examples

For display available commands use:

clio help

For display command help use:

clio <COMMAND_NAME> --help

Packages

Creating new package

To create new package project, use the next command:

 clio new-pkg <PACKAGE_NAME>

you can set reference on local core assembly with using Creatio file design mode with command in Pkg directory

 clio new-pkg <PACKAGE_NAME> -r bin

Installing package

To install package from directory you can use the next command: for non compressed package in current folder

clio push-pkg <PACKAGE_NAME>

or for .gz packages you can use command:

clio push-pkg package.gz

or with full path

clio push-pkg C:\Packages\package.gz

for get installation log file specify report path parameter

clio push-pkg <PACKAGE_NAME> -r log.txt

Pull package from remote application

For download package to local file system from application use command:

clio pull-pkg <PACKAGE_NAME>

for pull package from non default application

clio pull-pkg <PACKAGE_NAME> -e <ENVIRONMENT_NAME>

Applies to Creatio 7.14.0 and up

Delete package

To delete package, use the next command:

clio delete-pkg-remote <PACKAGE_NAME>

for delete for non default application

clio delete-pkg-remote <PACKAGE_NAME> -e <ENVIRONMENT_NAME>

Compress package

For compress package into *.gz archive for directory which contain package folder

clio generate-pkg-zip <PACKAGE_NAME>

or you can specify full path for package and .gz file

clio generate-pkg-zip  C:\Packages\package -d C:\Store\package.gz

Extract package

For package from *.gz archive

clio extract-pkg-zip <package>.gz -d c:\Pkg\<package>

Get package list

To get packages list in selected environment, use the next command:

clio get-pkg-list

for filter results, use -f option

clio get-pkg-list -f clio

Set package version

Set a specified package version into descriptor.json by specified package path.

clio set-pkg-version <PACKAGE PATH> -v <PACKAGE VERSION>

NuGet Packages

Pack NuGet package

To pack creatio package to a NuGet package (*.nupkg), use the next command:

pack-nuget-pkg <CREATIO_PACKAGE_PATH> [--Dependencies <PACKAGE_NAME_1>[:<PACKAGE_VERSION_1>][,<PACKAGE_NAME_2>[:<PACKAGE_VERSION_2>],...]>] [--NupkgDirectory <NUGET_PACKAGE_PATH>]

Default value of 'PACKAGE_VERSION' argument it's last package version.

Default value of 'NupkgDirectory' argument it's current directory.

Push NuGet package

To push NuGet package (*.nupkg) to a NuGet repository, use the next command:

push-nuget-pkg <NUGET_PACKAGE_PATH> --ApiKey <APIKEY_NUGET_REPOSITORY> --Source <URL_NUGET_REPOSITORY>

Restore NuGet package

To restore NuGet package (*.nupkg) to destination restoring package directory , use the next command:

restore-nuget-pkg  <PACKAGE_NAME>[:<PACKAGE_VERSION>] [--DestinationDirectory <DESTINATION_DIRECTORY>] [--Source <URL_NUGET_REPOSITORY>]

Default value of 'PACKAGE_VERSION' argument it's last package version.

Default value of 'DestinationDirectory' argument it's current directory.

Default value of 'Source' argument: https://www.nuget.org/api/v2

Install NuGet package

To install NuGet package to a web application Creatio, use the next command:

clio install-nuget-pkg <PACKAGE_NAME>[:<PACKAGE_VERSION>] [--Source <URL_NUGET_REPOSITORY>]

you can install NuGet package of last version:

clio install-nuget-pkg <PACKAGE_NAME> [--Source <URL_NUGET_REPOSITORY>]

for install several NuGet packages:

clio install-nuget-pkg <PACKAGE_NAME_1>[:<PACKAGE_VERSION_1>][,<PACKAGE_NAME_2>[:<PACKAGE_VERSION_2>],...]> [--Source <URL_NUGET_REPOSITORY>]

or you can install several NuGet packages of last versions:

clio install-nuget-pkg <PACKAGE_NAME_1>[,<PACKAGE_NAME_2>,...]> [--Source <URL_NUGET_REPOSITORY>]

Default value of 'PACKAGE_VERSION' argument it's last package version.

Default value of 'Source' argument: https://www.nuget.org/api/v2

Check packages updates in NuGet

To check Creatio packages updates in a NuGet repository, use the next command:

clio check-nuget-update [--Source <URL_NUGET_REPOSITORY>]

Default value of 'Source' argument: https://www.nuget.org/api/v2

Application

Restart application

To restart Creatio application, use the next command for default environment:

clio restart-web-app

or for register application

clio restart-web-app <ENVIRONMENT_NAME>

Clear redis database

For default application

clio clear-redis-db

or non default application

clio clear-redis-db <ENVIRONMENT_NAME>

Environment settings

Environment is the set of configuration options. It consist of name, Creatio application URL, login and password.

Create/Update an environment

Register new application settings

clio reg-web-app <ENVIRONMENT_NAME> -u http://mysite.creatio.com -l administrator -p password

or update existing settings

clio reg-web-app <ENVIRONMENT_NAME> -u administrator -p password

Delete the existing environment

clio unreg-web-app <ENVIRONMENT_NAME>

Check environment

For validation existing environment setting you can use ping command

clio ping <ENVIRONMENT_NAME>

View application options

For view list of all applications

clio show-web-app-list

or for concrete application

clio show-web-app <ENVIRONMENT_NAME>

Open application

For open selected environment in default browser use (Windows only command)

clio open <ENVIRONMENT NAME>

Ping application

For check options fort selected environment use next command

clio ping <ENVIRONMENT NAME>

Using for CI/CD systems

In CI/CD systems, you can specify configuration options directly when calling command:

clio restart -u http://mysite.creatio.com -l administrator -p password

Development

Workspaces

For connect proffesional developer tools and Creatio no-code designers, you can organanize development flow in you local file system in workspace.

https://user-images.githubusercontent.com/26967647/166842902-566af234-f9ad-48fb-82c1-0a0302bc5b3c.mp4

Create workspace in local directory, execute create-workspace command

C:\Demo> clio create-workspace

In directory .clio specify you packages

Create workspace in local directory with all editable packages from environment, execute create-workspace command with argument -e <Environment name>

C:\Demo> clio create-workspace -e demo

Restore packages in you file system via command from selected environmet

C:\Demo> clio restore-workspace -e demo

In workspace are supported new feature of Creatio platform - Package assembly. Clio create ready for development in Visual Studio or another IDE solution and you can open it via autogenerated command file

C:\Demo> OpenSolution.cmd

Push you modified code to the you environment via command and work with it from designer again

C:\Demo> clio push-workspace -e demo

IMPORTANT: Workspaces available from clio 3.0.1.2 and above and for full support developer flow you must install additional system package cliogate to you invironment.

C:\Demo> clio install-gate -e demo

Convert package

clio convert <PACKAGE_NAME>

Execute assembly

Execute code from assembly

clio execute-assembly-code -f myassembly.dll -t MyNamespace.CodeExecutor

References

Set references for project on src

clio ref-to src

Set references for project on application distributive binary files

clio ref-to bin

Execute custom SQL script

Execute custom SQL script on a web application

execute-sql-script "SELECT Id FROM SysSettings WHERE Code = 'CustomPackageId'"

Executes custom SQL script from specified file

execute-sql-script -f c:\Path to file\file.sql
Product Compatible and additional computed target framework versions.
.NET net5.0 was computed.  net5.0-windows was computed.  net6.0 was computed.  net6.0-android was computed.  net6.0-ios was computed.  net6.0-maccatalyst was computed.  net6.0-macos was computed.  net6.0-tvos was computed.  net6.0-windows was computed.  net7.0 was computed.  net7.0-android was computed.  net7.0-ios was computed.  net7.0-maccatalyst was computed.  net7.0-macos was computed.  net7.0-tvos was computed.  net7.0-windows was computed.  net8.0 was computed.  net8.0-android was computed.  net8.0-browser was computed.  net8.0-ios was computed.  net8.0-maccatalyst was computed.  net8.0-macos was computed.  net8.0-tvos was computed.  net8.0-windows was computed. 
.NET Core netcoreapp3.1 is compatible. 
Compatible target framework(s)
Included target framework(s) (in package)
Learn more about Target Frameworks and .NET Standard.

This package has no dependencies.

Version Downloads Last updated
6.1.0.15 350 5/10/2024
6.1.0.14 789 4/30/2024
6.1.0.13 615 4/26/2024
6.1.0.12 841 4/19/2024
6.1.0.11 276 4/19/2024
6.1.0.10 214 4/18/2024
6.1.0.9 193 4/18/2024
6.1.0.8 982 4/11/2024
6.1.0.7 356 4/11/2024
6.1.0.6 335 4/11/2024
6.1.0.5 354 4/11/2024
6.1.0.4 869 4/3/2024
6.1.0.3 745 3/29/2024
6.1.0.2 244 3/29/2024
6.1.0.1 1,136 3/22/2024
6.0.2.51 1,008 3/15/2024
6.0.2.50 294 3/15/2024
6.0.2.49 1,036 3/8/2024
6.0.2.48 432 3/8/2024
6.0.2.47 867 3/1/2024
6.0.2.46 1,267 2/22/2024
6.0.2.45 732 2/15/2024
6.0.2.44 223 2/15/2024
6.0.2.43 737 2/9/2024
6.0.2.42 233 2/8/2024
6.0.2.41 509 2/1/2024
6.0.2.40 216 2/1/2024
6.0.2.39 475 1/25/2024
6.0.2.38 375 1/18/2024
6.0.2.37 309 1/18/2024
6.0.2.36 410 1/12/2024
6.0.2.35 180 1/11/2024
6.0.2.34 641 1/8/2024
6.0.2.33 391 1/5/2024
6.0.2.32 476 12/29/2023
6.0.2.31 281 12/29/2023
6.0.2.30 324 12/26/2023
6.0.2.29 233 12/26/2023
6.0.2.28 229 12/26/2023
6.0.2.27 490 12/21/2023
6.0.2.26 247 12/21/2023
6.0.2.25 846 12/14/2023
6.0.2.24 204 12/14/2023
6.0.2.23 259 12/14/2023
6.0.2.22 273 12/14/2023
6.0.2.21 243 12/14/2023
6.0.2.20 261 12/14/2023
6.0.2.19 877 12/7/2023
6.0.2.18 251 12/7/2023
6.0.2.17 622 12/4/2023
6.0.2.16 626 12/1/2023
6.0.2.15 286 11/30/2023
6.0.2.14 740 11/24/2023
6.0.2.13 221 11/24/2023
6.0.2.12 337 11/24/2023
6.0.2.11 320 11/23/2023
6.0.2.10 608 11/17/2023
6.0.2.9 425 11/9/2023
6.0.2.8 704 11/2/2023
6.0.2.7 322 11/2/2023
6.0.2.6 254 11/2/2023
6.0.2.5 362 11/2/2023
6.0.2.4 976 10/24/2023
6.0.2.3 609 10/19/2023
6.0.2.2 882 10/12/2023
6.0.2.1 712 10/5/2023
6.0.1.45 741 9/29/2023
6.0.1.44 456 9/28/2023
6.0.1.43 690 9/21/2023
6.0.1.42 342 9/21/2023
6.0.1.41 669 9/14/2023
6.0.1.40 1,361 8/24/2023
6.0.1.39 802 8/17/2023
6.0.1.38 249 8/17/2023
6.0.1.37 869 8/10/2023
6.0.1.36 930 7/27/2023
6.0.1.35 724 7/20/2023
6.0.1.34 360 7/20/2023
6.0.1.33 709 7/13/2023
6.0.1.32 695 7/6/2023
6.0.1.31 754 6/29/2023
6.0.1.30 665 6/22/2023
6.0.1.29 2,666 6/15/2023
6.0.1.28 249 6/15/2023
6.0.1.27 427 6/8/2023
6.0.1.26 329 6/8/2023
6.0.1.25 403 6/1/2023
6.0.1.24 500 5/25/2023
6.0.1.23 401 5/18/2023
6.0.1.22 376 5/11/2023
6.0.1.21 514 5/4/2023
6.0.1.20 375 5/4/2023
6.0.1.19 481 4/27/2023
6.0.1.18 493 4/20/2023
6.0.1.17 487 4/20/2023
6.0.1.16 480 4/13/2023
6.0.1.15 738 3/30/2023
6.0.1.14 462 3/30/2023
6.0.1.13 647 3/23/2023
6.0.1.12 779 3/16/2023
6.0.1.11 485 3/16/2023
6.0.1.10 764 3/9/2023
6.0.1.9 494 3/9/2023
6.0.1.8 382 3/3/2023
6.0.1.7 315 3/2/2023
6.0.1.6 397 2/23/2023
6.0.1.5 416 2/17/2023
6.0.1.4 352 2/16/2023
6.0.1.3 622 2/9/2023
6.0.1.2 607 1/26/2023
6.0.1.1 341 1/26/2023
3.0.1.41 1,414 12/22/2022
3.0.1.40 434 12/22/2022
3.0.1.39 425 12/9/2022
3.0.1.38 547 12/1/2022
3.0.1.37 778 11/7/2022
3.0.1.36 768 11/7/2022
3.0.1.35 611 10/27/2022
3.0.1.34 522 10/24/2022
3.0.1.33 571 10/20/2022
3.0.1.32 530 10/20/2022
3.0.1.31 647 9/29/2022
3.0.1.30 513 9/28/2022
3.0.1.29 1,523 9/19/2022
3.0.1.28 514 9/9/2022
3.0.1.27 589 9/1/2022
3.0.1.26 595 8/25/2022
3.0.1.25 447 8/25/2022
3.0.1.24 532 8/19/2022
3.0.1.23 486 8/19/2022
3.0.1.22 488 8/19/2022
3.0.1.21 1,601 8/11/2022
3.0.1.20 464 8/11/2022
3.0.1.19 443 8/11/2022
3.0.1.18 616 8/1/2022
3.0.1.17 631 7/25/2022
3.0.1.16 525 7/21/2022
3.0.1.15 463 7/21/2022
3.0.1.14 691 7/14/2022
3.0.1.13 676 7/7/2022
3.0.1.12 618 6/30/2022
3.0.1.11 615 6/23/2022
3.0.1.10 617 6/14/2022
3.0.1.9 852 5/30/2022
3.0.1.8 624 5/23/2022
3.0.1.7 513 5/19/2022
3.0.1.6 667 5/11/2022
3.0.1.5 629 5/3/2022
3.0.1.2 518 5/3/2022
3.0.1.1 542 5/2/2022
2.0.0.15 3,748 9/21/2021
2.0.0.14 2,343 2/22/2021
2.0.0.13 1,157 11/20/2020
2.0.0.12 1,505 6/16/2020
2.0.0.11 675 6/11/2020
2.0.0.9 1,140 4/8/2020
2.0.0.8 802 3/9/2020
2.0.0.7 627 2/20/2020
2.0.0.6 675 2/13/2020
2.0.0.5 746 2/6/2020
2.0.0.4 614 1/30/2020
2.0.0.3 639 1/24/2020
2.0.0.2 623 1/23/2020