clio 3.0.1.8
See the version list below for details.
dotnet tool install --global clio --version 3.0.1.8
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local clio --version 3.0.1.8
#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
- Introduction
- Installation and features
- Content table
- Arguments
- Register and unregister
- Packages
- NuGet Packages
- Application
- Environment settings
- Using for CI/CD systems
- Development
- Packages
- NuGet Packages
- Application
- Environment settings
- Using for CI/CD systems
Development
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
clio unregister
MacOS
- Download .net core for mac
- Download and extract clio release
- 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.
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 | Versions 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. |
This package has no dependencies.
Version | Downloads | Last updated |
---|---|---|
8.0.1.12 | 672 | 12/27/2024 |
8.0.1.11 | 182 | 12/26/2024 |
8.0.1.10 | 2,152 | 12/13/2024 |
8.0.1.9 | 404 | 12/13/2024 |
8.0.1.8 | 229 | 12/12/2024 |
8.0.1.7 | 1,492 | 12/6/2024 |
8.0.1.6 | 2,238 | 11/22/2024 |
8.0.1.5 | 1,263 | 11/15/2024 |
8.0.1.4 | 597 | 11/14/2024 |
8.0.1.3 | 2,005 | 11/7/2024 |
8.0.1.2 | 1,710 | 10/31/2024 |
8.0.1.1 | 1,524 | 10/24/2024 |
6.1.0.39 | 5,098 | 9/26/2024 |
6.1.0.38 | 2,099 | 9/20/2024 |
6.1.0.37 | 1,072 | 9/13/2024 |
6.1.0.36 | 1,638 | 9/5/2024 |
6.1.0.35 | 2,454 | 8/22/2024 |
6.1.0.34 | 2,370 | 8/15/2024 |
6.1.0.33 | 1,746 | 8/9/2024 |
6.1.0.32 | 1,686 | 7/26/2024 |
6.1.0.31 | 1,743 | 7/19/2024 |
6.1.0.30 | 1,343 | 7/18/2024 |
6.1.0.29 | 1,817 | 7/12/2024 |
6.1.0.28 | 1,479 | 7/11/2024 |
6.1.0.27 | 1,228 | 7/11/2024 |
6.1.0.26 | 816 | 7/5/2024 |
6.1.0.25 | 1,585 | 7/4/2024 |
6.1.0.24 | 760 | 6/27/2024 |
6.1.0.23 | 318 | 6/26/2024 |
6.1.0.22 | 787 | 6/20/2024 |
6.1.0.21 | 829 | 6/13/2024 |
6.1.0.20 | 499 | 6/6/2024 |
6.1.0.19 | 918 | 5/31/2024 |
6.1.0.18 | 991 | 5/24/2024 |
6.1.0.16 | 839 | 5/17/2024 |
6.1.0.15 | 683 | 5/10/2024 |
6.1.0.14 | 945 | 4/30/2024 |
6.1.0.13 | 704 | 4/26/2024 |
6.1.0.12 | 941 | 4/19/2024 |
6.1.0.11 | 408 | 4/19/2024 |
6.1.0.10 | 332 | 4/18/2024 |
6.1.0.9 | 294 | 4/18/2024 |
6.1.0.8 | 1,172 | 4/11/2024 |
6.1.0.7 | 457 | 4/11/2024 |
6.1.0.6 | 456 | 4/11/2024 |
6.1.0.5 | 486 | 4/11/2024 |
6.1.0.4 | 952 | 4/3/2024 |
6.1.0.3 | 875 | 3/29/2024 |
6.1.0.2 | 358 | 3/29/2024 |
6.1.0.1 | 1,306 | 3/22/2024 |
6.0.2.51 | 1,099 | 3/15/2024 |
6.0.2.50 | 403 | 3/15/2024 |
6.0.2.49 | 1,151 | 3/8/2024 |
6.0.2.48 | 543 | 3/8/2024 |
6.0.2.47 | 1,004 | 3/1/2024 |
6.0.2.46 | 1,604 | 2/22/2024 |
6.0.2.45 | 827 | 2/15/2024 |
6.0.2.44 | 329 | 2/15/2024 |
6.0.2.43 | 857 | 2/9/2024 |
6.0.2.42 | 340 | 2/8/2024 |
6.0.2.41 | 611 | 2/1/2024 |
6.0.2.40 | 308 | 2/1/2024 |
6.0.2.39 | 610 | 1/25/2024 |
6.0.2.38 | 457 | 1/18/2024 |
6.0.2.37 | 426 | 1/18/2024 |
6.0.2.36 | 500 | 1/12/2024 |
6.0.2.35 | 255 | 1/11/2024 |
6.0.2.34 | 743 | 1/8/2024 |
6.0.2.33 | 499 | 1/5/2024 |
6.0.2.32 | 573 | 12/29/2023 |
6.0.2.31 | 367 | 12/29/2023 |
6.0.2.30 | 386 | 12/26/2023 |
6.0.2.29 | 327 | 12/26/2023 |
6.0.2.28 | 310 | 12/26/2023 |
6.0.2.27 | 560 | 12/21/2023 |
6.0.2.26 | 348 | 12/21/2023 |
6.0.2.25 | 926 | 12/14/2023 |
6.0.2.24 | 375 | 12/14/2023 |
6.0.2.23 | 338 | 12/14/2023 |
6.0.2.22 | 360 | 12/14/2023 |
6.0.2.21 | 348 | 12/14/2023 |
6.0.2.20 | 340 | 12/14/2023 |
6.0.2.19 | 959 | 12/7/2023 |
6.0.2.18 | 351 | 12/7/2023 |
6.0.2.17 | 708 | 12/4/2023 |
6.0.2.16 | 717 | 12/1/2023 |
6.0.2.15 | 382 | 11/30/2023 |
6.0.2.14 | 842 | 11/24/2023 |
6.0.2.13 | 315 | 11/24/2023 |
6.0.2.12 | 420 | 11/24/2023 |
6.0.2.11 | 394 | 11/23/2023 |
6.0.2.10 | 685 | 11/17/2023 |
6.0.2.9 | 533 | 11/9/2023 |
6.0.2.8 | 811 | 11/2/2023 |
6.0.2.7 | 420 | 11/2/2023 |
6.0.2.6 | 367 | 11/2/2023 |
6.0.2.5 | 454 | 11/2/2023 |
6.0.2.4 | 1,115 | 10/24/2023 |
6.0.2.3 | 694 | 10/19/2023 |
6.0.2.2 | 986 | 10/12/2023 |
6.0.2.1 | 808 | 10/5/2023 |
6.0.1.45 | 828 | 9/29/2023 |
6.0.1.44 | 572 | 9/28/2023 |
6.0.1.43 | 764 | 9/21/2023 |
6.0.1.42 | 435 | 9/21/2023 |
6.0.1.41 | 750 | 9/14/2023 |
6.0.1.40 | 1,428 | 8/24/2023 |
6.0.1.39 | 912 | 8/17/2023 |
6.0.1.38 | 316 | 8/17/2023 |
6.0.1.37 | 949 | 8/10/2023 |
6.0.1.36 | 955 | 7/27/2023 |
6.0.1.35 | 777 | 7/20/2023 |
6.0.1.34 | 395 | 7/20/2023 |
6.0.1.33 | 755 | 7/13/2023 |
6.0.1.32 | 739 | 7/6/2023 |
6.0.1.31 | 802 | 6/29/2023 |
6.0.1.30 | 714 | 6/22/2023 |
6.0.1.29 | 3,893 | 6/15/2023 |
6.0.1.28 | 296 | 6/15/2023 |
6.0.1.27 | 483 | 6/8/2023 |
6.0.1.26 | 374 | 6/8/2023 |
6.0.1.25 | 448 | 6/1/2023 |
6.0.1.24 | 548 | 5/25/2023 |
6.0.1.23 | 462 | 5/18/2023 |
6.0.1.22 | 400 | 5/11/2023 |
6.0.1.21 | 559 | 5/4/2023 |
6.0.1.20 | 432 | 5/4/2023 |
6.0.1.19 | 531 | 4/27/2023 |
6.0.1.18 | 549 | 4/20/2023 |
6.0.1.17 | 544 | 4/20/2023 |
6.0.1.16 | 528 | 4/13/2023 |
6.0.1.15 | 772 | 3/30/2023 |
6.0.1.14 | 510 | 3/30/2023 |
6.0.1.13 | 727 | 3/23/2023 |
6.0.1.12 | 802 | 3/16/2023 |
6.0.1.11 | 527 | 3/16/2023 |
6.0.1.10 | 815 | 3/9/2023 |
6.0.1.9 | 530 | 3/9/2023 |
6.0.1.8 | 412 | 3/3/2023 |
6.0.1.7 | 345 | 3/2/2023 |
6.0.1.6 | 428 | 2/23/2023 |
6.0.1.5 | 445 | 2/17/2023 |
6.0.1.4 | 383 | 2/16/2023 |
6.0.1.3 | 754 | 2/9/2023 |
6.0.1.2 | 641 | 1/26/2023 |
6.0.1.1 | 411 | 1/26/2023 |
3.0.1.41 | 1,684 | 12/22/2022 |
3.0.1.40 | 463 | 12/22/2022 |
3.0.1.39 | 459 | 12/9/2022 |
3.0.1.38 | 575 | 12/1/2022 |
3.0.1.37 | 815 | 11/7/2022 |
3.0.1.36 | 804 | 11/7/2022 |
3.0.1.35 | 647 | 10/27/2022 |
3.0.1.34 | 564 | 10/24/2022 |
3.0.1.33 | 609 | 10/20/2022 |
3.0.1.32 | 570 | 10/20/2022 |
3.0.1.31 | 683 | 9/29/2022 |
3.0.1.30 | 552 | 9/28/2022 |
3.0.1.29 | 1,696 | 9/19/2022 |
3.0.1.28 | 552 | 9/9/2022 |
3.0.1.27 | 609 | 9/1/2022 |
3.0.1.26 | 629 | 8/25/2022 |
3.0.1.25 | 486 | 8/25/2022 |
3.0.1.24 | 570 | 8/19/2022 |
3.0.1.23 | 519 | 8/19/2022 |
3.0.1.22 | 508 | 8/19/2022 |
3.0.1.21 | 1,662 | 8/11/2022 |
3.0.1.20 | 510 | 8/11/2022 |
3.0.1.19 | 479 | 8/11/2022 |
3.0.1.18 | 661 | 8/1/2022 |
3.0.1.17 | 672 | 7/25/2022 |
3.0.1.16 | 563 | 7/21/2022 |
3.0.1.15 | 512 | 7/21/2022 |
3.0.1.14 | 726 | 7/14/2022 |
3.0.1.13 | 715 | 7/7/2022 |
3.0.1.12 | 652 | 6/30/2022 |
3.0.1.11 | 646 | 6/23/2022 |
3.0.1.10 | 653 | 6/14/2022 |
3.0.1.9 | 885 | 5/30/2022 |
3.0.1.8 | 657 | 5/23/2022 |
3.0.1.7 | 551 | 5/19/2022 |
3.0.1.6 | 703 | 5/11/2022 |
3.0.1.5 | 648 | 5/3/2022 |
3.0.1.2 | 559 | 5/3/2022 |
3.0.1.1 | 587 | 5/2/2022 |
2.0.0.15 | 7,267 | 9/21/2021 |
2.0.0.14 | 2,376 | 2/22/2021 |
2.0.0.13 | 1,188 | 11/20/2020 |
2.0.0.12 | 1,543 | 6/16/2020 |
2.0.0.11 | 716 | 6/11/2020 |
2.0.0.9 | 1,177 | 4/8/2020 |
2.0.0.8 | 838 | 3/9/2020 |
2.0.0.7 | 664 | 2/20/2020 |
2.0.0.6 | 721 | 2/13/2020 |
2.0.0.5 | 776 | 2/6/2020 |
2.0.0.4 | 650 | 1/30/2020 |
2.0.0.3 | 677 | 1/24/2020 |
2.0.0.2 | 656 | 1/23/2020 |