Security News
Weekly Downloads Now Available in npm Package Search Results
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
@cabasvert/tools
Advanced tools
Cabas Vert is a management application for associations that participate in the distribution of organic, local and seasonal, vegetable baskets. It is used by our association in Marseille (France) but aims to be used by other AMAPs (Associations for the Maintenance of Family Farming). Cabas Vert is a Free Sotware and is distributed under the GPL v3.0 licence. |
Get help:
$ npx cvt --help
Usage: cvt [OPTION]... COMMAND
Commands:
backup save Write a backup of database to file
backup restore <file> Restores a backup of database from file
generate Generates a randomized database
setup Setups database
Common options:
-l, --location=NAME Specify the server location
-H, --host=URL Specify the database host
--username=... Specify an admin username
--password=... Specify an admin password
-d, --db-name=NAME Specify the database name
-h, --help Shows this help message
Server locations:
You can have location shortcuts in a .cabasvertrc.json file in your
home directory. It has the following format:
{
"defaultLocation": "local",
"locations": {
"local": {
"name": "local",
"database": {
"url": "http://localhost:3000",
"auth": {
"username": "username",
"password": "password"
}
}
},
"prod": {
"name": "prod",
"database": {
"url": "https://my-database.com",
"auth": {
"username": "my-username",
"password": "my-password"
}
}
}
}
}
Create the database admin user:
npx cvt setup
Generate a test
database:
npx cvt -d test generate
Make a backup of the test
database:
npx cvt -d test backup save
Restore a backup of the test
database:
npx cvt -d test backup restore backup-file.json
Execute:
yarn build
Copy the config.json
file to my-config.json
and edit it according to your wishes.
Then execute:
yarn build
node dist/cli --help
yarn test
Test coverage is automatically generated in a coverage
directory.
FAQs
The admin and dev tools for Cabas Vert
The npm package @cabasvert/tools receives a total of 0 weekly downloads. As such, @cabasvert/tools popularity was classified as not popular.
We found that @cabasvert/tools demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer 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
Socket's package search now displays weekly downloads for npm packages, helping developers quickly assess popularity and make more informed decisions.
Security News
A Stanford study reveals 9.5% of engineers contribute almost nothing, costing tech $90B annually, with remote work fueling the rise of "ghost engineers."
Research
Security News
Socket’s threat research team has detected six malicious npm packages typosquatting popular libraries to insert SSH backdoors.