From a4d488ecc11cbe1c2292a9addae023e9bfcd728c Mon Sep 17 00:00:00 2001 From: mikalai Date: Mon, 7 Jul 2025 15:46:13 +0200 Subject: [PATCH 1/2] Update CLI docs for changes from CLOS-2571 --- .../cloudlinuxos/command-line_tools/README.md | 53 ++++++++++++++++++- 1 file changed, 52 insertions(+), 1 deletion(-) diff --git a/docs/cloudlinuxos/command-line_tools/README.md b/docs/cloudlinuxos/command-line_tools/README.md index 3848f9195..b6260bd3b 100644 --- a/docs/cloudlinuxos/command-line_tools/README.md +++ b/docs/cloudlinuxos/command-line_tools/README.md @@ -1448,6 +1448,15 @@ When running user command as root, please use `--user` } // end of json ``` + +* Get Python script execution timeout in seconds : + +
+ + ``` + cloudlinux-selector get --json --interpreter python --get-run-script + ``` +
* Set default version, supported versions, and status of Python Selector: @@ -1522,6 +1531,14 @@ When running user command as root, please use `--user` ``` +8. Set Python script execution timeout value in seconds : +
+ + ``` + cloudlinux-selector set --json --interpreter=python --run-script=5 + ``` +
+ * Change version for an application: * For a specific application: @@ -1550,7 +1567,6 @@ When running user command as root, please use `--user` ``` - #### *Examples* 1. Change version for a specific application: @@ -1874,6 +1890,14 @@ To start all users CLI commands use `cagefs_enter` +* Get Python script execution timeout in seconds : + +
+ + ``` + cloudlinux-selector get --json --interpreter=python --get-run-script + ``` +
## Ruby Selector @@ -2003,6 +2027,15 @@ cloudlinux-selector [get] [--json] --interpreter nodejs ``` +Get Nodejs script execution timeout in seconds : + +
+ +``` +cloudlinux-selector get --json --interpreter=nodejs --get-run-script +``` +
+ Set default version, supported versions, and status of Node.js Selector :
@@ -2081,6 +2114,15 @@ cloudlinux-selector disable-version --json --interpreter nodejs --version 8 ```
+Set Nodejs script execution timeout value in seconds : + +
+ +``` +cloudlinux-selector set --json --interpreter nodejs --run-script=5 +``` +
+ Change version for application(s):
@@ -2358,6 +2400,15 @@ cloudlinux-selector run-script --json --interpreter nodejs --user user1 --app-ro ```
+Get Nodejs script execution timeout in seconds : + +
+ +``` +cloudlinux-selector get --json --interpreter=nodejs --get-run-script +``` +
+ Activate virtual environment of NodeJS:
From 4f903e9af8bde68ac1a29800256217a934d7e26f Mon Sep 17 00:00:00 2001 From: nikolai_voina <161150950+NikolayVoina@users.noreply.github.com> Date: Mon, 7 Jul 2025 15:57:07 +0200 Subject: [PATCH 2/2] Update README.md --- docs/cloudlinuxos/command-line_tools/README.md | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/cloudlinuxos/command-line_tools/README.md b/docs/cloudlinuxos/command-line_tools/README.md index b6260bd3b..578ac8b8c 100644 --- a/docs/cloudlinuxos/command-line_tools/README.md +++ b/docs/cloudlinuxos/command-line_tools/README.md @@ -1567,6 +1567,7 @@ When running user command as root, please use `--user` ```
+ #### *Examples* 1. Change version for a specific application: