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.6 | 1,403 | 11/22/2024 |
8.0.1.5 | 980 | 11/15/2024 |
8.0.1.4 | 451 | 11/14/2024 |
8.0.1.3 | 1,462 | 11/7/2024 |
8.0.1.2 | 1,374 | 10/31/2024 |
8.0.1.1 | 1,226 | 10/24/2024 |
6.1.0.39 | 4,434 | 9/26/2024 |
6.1.0.38 | 1,815 | 9/20/2024 |
6.1.0.37 | 1,048 | 9/13/2024 |
6.1.0.36 | 1,407 | 9/5/2024 |
6.1.0.35 | 2,153 | 8/22/2024 |
6.1.0.34 | 2,099 | 8/15/2024 |
6.1.0.33 | 1,440 | 8/9/2024 |
6.1.0.32 | 1,605 | 7/26/2024 |
6.1.0.31 | 1,534 | 7/19/2024 |
6.1.0.30 | 1,067 | 7/18/2024 |
6.1.0.29 | 1,596 | 7/12/2024 |
6.1.0.28 | 1,188 | 7/11/2024 |
6.1.0.27 | 1,030 | 7/11/2024 |
6.1.0.26 | 800 | 7/5/2024 |
6.1.0.25 | 1,339 | 7/4/2024 |
6.1.0.24 | 740 | 6/27/2024 |
6.1.0.23 | 298 | 6/26/2024 |
6.1.0.22 | 779 | 6/20/2024 |
6.1.0.21 | 803 | 6/13/2024 |
6.1.0.20 | 491 | 6/6/2024 |
6.1.0.19 | 898 | 5/31/2024 |
6.1.0.18 | 977 | 5/24/2024 |
6.1.0.16 | 831 | 5/17/2024 |
6.1.0.15 | 669 | 5/10/2024 |
6.1.0.14 | 943 | 4/30/2024 |
6.1.0.13 | 702 | 4/26/2024 |
6.1.0.12 | 933 | 4/19/2024 |
6.1.0.11 | 388 | 4/19/2024 |
6.1.0.10 | 324 | 4/18/2024 |
6.1.0.9 | 292 | 4/18/2024 |
6.1.0.8 | 1,138 | 4/11/2024 |
6.1.0.7 | 449 | 4/11/2024 |
6.1.0.6 | 454 | 4/11/2024 |
6.1.0.5 | 484 | 4/11/2024 |
6.1.0.4 | 950 | 4/3/2024 |
6.1.0.3 | 873 | 3/29/2024 |
6.1.0.2 | 356 | 3/29/2024 |
6.1.0.1 | 1,297 | 3/22/2024 |
6.0.2.51 | 1,097 | 3/15/2024 |
6.0.2.50 | 401 | 3/15/2024 |
6.0.2.49 | 1,142 | 3/8/2024 |
6.0.2.48 | 541 | 3/8/2024 |
6.0.2.47 | 996 | 3/1/2024 |
6.0.2.46 | 1,531 | 2/22/2024 |
6.0.2.45 | 817 | 2/15/2024 |
6.0.2.44 | 313 | 2/15/2024 |
6.0.2.43 | 841 | 2/9/2024 |
6.0.2.42 | 330 | 2/8/2024 |
6.0.2.41 | 609 | 2/1/2024 |
6.0.2.40 | 306 | 2/1/2024 |
6.0.2.39 | 608 | 1/25/2024 |
6.0.2.38 | 455 | 1/18/2024 |
6.0.2.37 | 424 | 1/18/2024 |
6.0.2.36 | 498 | 1/12/2024 |
6.0.2.35 | 253 | 1/11/2024 |
6.0.2.34 | 741 | 1/8/2024 |
6.0.2.33 | 497 | 1/5/2024 |
6.0.2.32 | 571 | 12/29/2023 |
6.0.2.31 | 365 | 12/29/2023 |
6.0.2.30 | 384 | 12/26/2023 |
6.0.2.29 | 325 | 12/26/2023 |
6.0.2.28 | 308 | 12/26/2023 |
6.0.2.27 | 558 | 12/21/2023 |
6.0.2.26 | 346 | 12/21/2023 |
6.0.2.25 | 924 | 12/14/2023 |
6.0.2.24 | 373 | 12/14/2023 |
6.0.2.23 | 336 | 12/14/2023 |
6.0.2.22 | 358 | 12/14/2023 |
6.0.2.21 | 346 | 12/14/2023 |
6.0.2.20 | 338 | 12/14/2023 |
6.0.2.19 | 951 | 12/7/2023 |
6.0.2.18 | 349 | 12/7/2023 |
6.0.2.17 | 706 | 12/4/2023 |
6.0.2.16 | 715 | 12/1/2023 |
6.0.2.15 | 374 | 11/30/2023 |
6.0.2.14 | 840 | 11/24/2023 |
6.0.2.13 | 313 | 11/24/2023 |
6.0.2.12 | 414 | 11/24/2023 |
6.0.2.11 | 392 | 11/23/2023 |
6.0.2.10 | 677 | 11/17/2023 |
6.0.2.9 | 525 | 11/9/2023 |
6.0.2.8 | 809 | 11/2/2023 |
6.0.2.7 | 412 | 11/2/2023 |
6.0.2.6 | 353 | 11/2/2023 |
6.0.2.5 | 452 | 11/2/2023 |
6.0.2.4 | 1,113 | 10/24/2023 |
6.0.2.3 | 692 | 10/19/2023 |
6.0.2.2 | 978 | 10/12/2023 |
6.0.2.1 | 806 | 10/5/2023 |
6.0.1.45 | 820 | 9/29/2023 |
6.0.1.44 | 561 | 9/28/2023 |
6.0.1.43 | 762 | 9/21/2023 |
6.0.1.42 | 428 | 9/21/2023 |
6.0.1.41 | 748 | 9/14/2023 |
6.0.1.40 | 1,426 | 8/24/2023 |
6.0.1.39 | 900 | 8/17/2023 |
6.0.1.38 | 309 | 8/17/2023 |
6.0.1.37 | 937 | 8/10/2023 |
6.0.1.36 | 948 | 7/27/2023 |
6.0.1.35 | 775 | 7/20/2023 |
6.0.1.34 | 388 | 7/20/2023 |
6.0.1.33 | 753 | 7/13/2023 |
6.0.1.32 | 732 | 7/6/2023 |
6.0.1.31 | 795 | 6/29/2023 |
6.0.1.30 | 712 | 6/22/2023 |
6.0.1.29 | 3,695 | 6/15/2023 |
6.0.1.28 | 294 | 6/15/2023 |
6.0.1.27 | 476 | 6/8/2023 |
6.0.1.26 | 372 | 6/8/2023 |
6.0.1.25 | 446 | 6/1/2023 |
6.0.1.24 | 541 | 5/25/2023 |
6.0.1.23 | 450 | 5/18/2023 |
6.0.1.22 | 393 | 5/11/2023 |
6.0.1.21 | 557 | 5/4/2023 |
6.0.1.20 | 420 | 5/4/2023 |
6.0.1.19 | 529 | 4/27/2023 |
6.0.1.18 | 547 | 4/20/2023 |
6.0.1.17 | 537 | 4/20/2023 |
6.0.1.16 | 526 | 4/13/2023 |
6.0.1.15 | 770 | 3/30/2023 |
6.0.1.14 | 508 | 3/30/2023 |
6.0.1.13 | 707 | 3/23/2023 |
6.0.1.12 | 800 | 3/16/2023 |
6.0.1.11 | 525 | 3/16/2023 |
6.0.1.10 | 802 | 3/9/2023 |
6.0.1.9 | 516 | 3/9/2023 |
6.0.1.8 | 408 | 3/3/2023 |
6.0.1.7 | 343 | 3/2/2023 |
6.0.1.6 | 424 | 2/23/2023 |
6.0.1.5 | 439 | 2/17/2023 |
6.0.1.4 | 381 | 2/16/2023 |
6.0.1.3 | 737 | 2/9/2023 |
6.0.1.2 | 637 | 1/26/2023 |
6.0.1.1 | 405 | 1/26/2023 |
3.0.1.41 | 1,573 | 12/22/2022 |
3.0.1.40 | 461 | 12/22/2022 |
3.0.1.39 | 457 | 12/9/2022 |
3.0.1.38 | 571 | 12/1/2022 |
3.0.1.37 | 811 | 11/7/2022 |
3.0.1.36 | 795 | 11/7/2022 |
3.0.1.35 | 643 | 10/27/2022 |
3.0.1.34 | 560 | 10/24/2022 |
3.0.1.33 | 605 | 10/20/2022 |
3.0.1.32 | 566 | 10/20/2022 |
3.0.1.31 | 679 | 9/29/2022 |
3.0.1.30 | 548 | 9/28/2022 |
3.0.1.29 | 1,655 | 9/19/2022 |
3.0.1.28 | 548 | 9/9/2022 |
3.0.1.27 | 605 | 9/1/2022 |
3.0.1.26 | 625 | 8/25/2022 |
3.0.1.25 | 482 | 8/25/2022 |
3.0.1.24 | 566 | 8/19/2022 |
3.0.1.23 | 515 | 8/19/2022 |
3.0.1.22 | 504 | 8/19/2022 |
3.0.1.21 | 1,658 | 8/11/2022 |
3.0.1.20 | 502 | 8/11/2022 |
3.0.1.19 | 475 | 8/11/2022 |
3.0.1.18 | 652 | 8/1/2022 |
3.0.1.17 | 668 | 7/25/2022 |
3.0.1.16 | 555 | 7/21/2022 |
3.0.1.15 | 508 | 7/21/2022 |
3.0.1.14 | 722 | 7/14/2022 |
3.0.1.13 | 711 | 7/7/2022 |
3.0.1.12 | 648 | 6/30/2022 |
3.0.1.11 | 642 | 6/23/2022 |
3.0.1.10 | 649 | 6/14/2022 |
3.0.1.9 | 881 | 5/30/2022 |
3.0.1.8 | 653 | 5/23/2022 |
3.0.1.7 | 547 | 5/19/2022 |
3.0.1.6 | 699 | 5/11/2022 |
3.0.1.5 | 644 | 5/3/2022 |
3.0.1.2 | 555 | 5/3/2022 |
3.0.1.1 | 580 | 5/2/2022 |
2.0.0.15 | 6,712 | 9/21/2021 |
2.0.0.14 | 2,370 | 2/22/2021 |
2.0.0.13 | 1,183 | 11/20/2020 |
2.0.0.12 | 1,538 | 6/16/2020 |
2.0.0.11 | 711 | 6/11/2020 |
2.0.0.9 | 1,172 | 4/8/2020 |
2.0.0.8 | 833 | 3/9/2020 |
2.0.0.7 | 659 | 2/20/2020 |
2.0.0.6 | 716 | 2/13/2020 |
2.0.0.5 | 771 | 2/6/2020 |
2.0.0.4 | 645 | 1/30/2020 |
2.0.0.3 | 671 | 1/24/2020 |
2.0.0.2 | 650 | 1/23/2020 |