Security News
GitHub Removes Malicious Pull Requests Targeting Open Source Repositories
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
@totvslabs/carol
Advanced tools
CAROL CLI - Carol AI command line interface
x86_64
>=8.9
C++11
features i.e. LLVM version 10.0.0 (clang-1000.11.45.2
)libgcrypt
should be installed on macOS, Linux or windows.
Install on macOS using command brew install libgcrypt
Carol CLI
by following command:
$ sudo npm install @totvslabs/carol -g
The Carol CLI currently supports following commands.
Usage: carol [options] [command]
Options:
-v, --version output the version number
-h, --help output usage information
# | COMMANDS | DESCRIPTION |
---|---|---|
1 | login (alias: l) | Login to a tenant. |
2 | new (alias: n) | Create a new Carol app. |
3 | list (alias: ls) | List Carol apps of an active tenant. |
4 | app (alias: a) | Upload a file and/or submit against a connected Carol app. |
5 | connect (alias: c) | Connect a tenant or an app in CLI. |
6 | status (alias: s) | Carol CLI's connection status. |
7 | info (alias: i) | Display Carol CLI information. |
8 | logout | Logout a user from a configured tenant in CLI. |
carol login|l
login to a specified tenant in CLI
--tenant
(alias: -t
) <value>
Login to a specified tenant.
--username
(alias: -u
) <value>
Carol username.
$ carol login -t shiv -u shiv@totvslabs.com
$ ? Password: ********
Output:
$ Connected tenant:shiv Connected user:shiv@totvslabs.com
carol new|n <name> <version>
generates a new Carol app.
--label
(alias: -l
) <value>
Specify Carol app's display label.
--description
(alias: -d
) <value>
Specify description of the Carol app.
--poweredBy
(alias: -p
) <value>
Specify app powered by i.e. Carol etc.
$ carol new demo 1.0.0
Output:
$ ✔ Carol app demo prerequisites acquiring ...
🌱 Carol app demo prerequisites acquired.
✔ Carol app demo is creating ...
🚀 Carol app demo created and published.
Access your application: https://shiv.carol.ai/apps/dev/demo/1.0.0/index.html
--------------------------------------------------------------
🔖 Tenant:shiv User:shiv@totvslabs.com App:<no app connected>
carol list|ls
lists Carol apps.
--app
(alias: -a
) <name@version>
App name@version of a connected tenant and user.
$ carol list
Output:
$ ✔ Fetching app list...
Name AppVersion Created LastUpdated
--------------------- ---------- ------------------------ ------------------------
Student Retention 1.0 2017-10-10T07:19:19.000Z 2017-10-10T07:21:19.000Z
Diagnóstico de Vendas 1.0 2017-10-10T22:50:19.000Z 2017-10-10T22:59:01.000Z
--------------------------------------------------------------------
🔖 Tenant:robson User:robson.poffo@totvs.com App:<no app connected>
$ carol list --app demo@1.0.0
Output:
$ Label : demo
Name : demo
Version : 1.0.0
Description: -
Powered By : Carol
Url : https://shiv.carol.ai/apps/dev/demo/1.0.0/index.html
File Name Type Updated
---------------------- ---- ------------------------
site.zip WEB 2018-10-02T20:12:42.333Z
welcomeCarolApp-AI.zip AI 2018-10-02T20:27:10.636Z
--------------------------------------------------------------
🔖 Tenant:shiv User:shiv@totvslabs.com App:<no app connected>
carol app|a
uploads a file and/or submits a connected Carol app for review.
--upload
(alias: -u
) <file-path>
Uploads a zip file against the connected app.
--submit
(alias: -s
)
Submits a connected app for review.
$ carol app -u ./welcomeCarolApp-AI.zip
Output:
$ ✔ Carol app demo upload is in progress ...
🚀 Carol app demo@1.0.0 uploaded and available for access.
Access your application: https://shiv.carol.ai/apps/dev/demo/1.0.0/index.html
File Name File Type Updated
---------------------- --------- ------------------------
site.zip WEB 2018-10-02T20:12:42.333Z
welcomeCarolApp-AI.zip AI 2018-10-04T18:38:11.470Z
--------------------------------------------------------
🔖 Tenant:shiv User:shiv@totvslabs.com App:demo@1.0.0
2.
```cmd
$ carol app -s
Output:
$ Carol app demo@1.0.0 submitted for review.
--------------------------------------------------------
🔖 Tenant:shiv User:shiv@totvslabs.com App:demo@1.0.0
carol connect|c <entity> <value>
connects to a tenant or an app in CLI.
Where,
entity
= tenant
or app
value
= <tenant-name@username>
or <app-name>@<app-version>
for entity above respectively.
$ carol connect tenant shiv@shiv@totvslabs.com
Output:
$ Connected tenant:shiv Connected user:shiv@totvslabs.com
$ carol connect app demo@1.0.0
Output:
$ Tenant:shiv Connected app:demo@1.0.0
carol status|s
gives status of connected tenant, user and app in CLI.
$ carol status
Output:
$ Tenant:shiv User:shiv@totvslabs.com App:demo@1.0.0
carol info|i
gives cli and system details.
$ carol info
Output:
$ CAROL CLI
[System Information]
OS Version : macOS High Sierra
NodeJS Version : v8.12.0
NPM Version : 6.4.1
[Carol Information]
CLI Version : 1.0.79
carol logout <tenant> <username>
Logs out a user from a tenant configured in CLI.
$ carol logout shiv shiv@totvslabs.com
Output:
$ Logged out user:shiv@totvslabs.com from tenant:shiv
$ sudo xcode-select --install
Permission issues on carol install command above in installation step
$ id -un
$ <username>
/usr/local/lib/node_modules
read/write access
$ sudo chown -R <username> /usr/local/lib/node_modules
The MIT License (MIT)
Copyright (c) 2018 [TOTVS Labs]
FAQs
carol ai command line interface
The npm package @totvslabs/carol receives a total of 0 weekly downloads. As such, @totvslabs/carol popularity was classified as not popular.
We found that @totvslabs/carol demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 4 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
GitHub removed 27 malicious pull requests attempting to inject harmful code across multiple open source repositories, in another round of low-effort attacks.
Security News
RubyGems.org has added a new "maintainer" role that allows for publishing new versions of gems. This new permission type is aimed at improving security for gem owners and the service overall.
Security News
Node.js will be enforcing stricter semver-major PR policies a month before major releases to enhance stability and ensure reliable release candidates.