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.
Dex8 CLI is a command line interface which helps developers to create and run dex8.com skripts (automated serverless scripts).
DEX8 CLI is a command line interface which helps developers to create and execute DEX8 Skripts (automated serverless scripts).
The DEX8 Api is used for login, upload skript, download skript and update the skript on the DEX8 Serverless Platform.
Define DEX8 API Base URI:
export DEX8API_BASEURI="http://localhost:8001"
Default is: https://api.dex8.com
There are two ways:
$ npm install -g dex8-cli
### Use command
$ dex8 start -i input.json
$ npm install --save dex8-cli
### Use command
$ npx dex8 start -i input.json
If you get error: "npm ERR! could not determine executable to run" when $ npx dex8 ... command is used do this:
$ rm -rf .git/hooks
$ npm install
Initiate, delete, start, upload and download skripts from command line.
Login with DEX8 Web Panel username and password. Upon successful login, a "dex8-auth.json" file is generated, housing a JWT Authentication Token and other sensitive information. Ensure its inclusion in .gitignore to prevent accidental commits to the Git repository. Never push this file to the repository !
It is strongly advised to log out upon completing development skripts, as doing so will remove the "dex8-auth.json" file.
Initiate a new project (DEX8 Skript) with this command. Upon answering a series of questions, it will generate a folder containing the initial files.
Remove a DEX8 skript with this command. It will delete the entire folder named with skriptTitle argument. The command position can be either within skriptTitle or its parent directory.
Bundle main.js and save it in the ./dist/mainBundle.js.
Alias:
$ dex8 b
Once a skript is created, utilize this command to launch a DEX8 skript on localhost. If inputSecret.json is specified, it will be combined with input.json, wherein inputSecret.json holds passwords and other confidential information.
Options:
-i --input <input.js | input.json> select input file (initial data for DEX8 skript)
-l --library <library.js> select library file (initial libs for DEX8 skript)
-b --bundle execute dist/mainBundle.js instead of main.js
Upload the skript to the DEX8 SaaS Platform. Prior to uploading, bundle the main.js file using the $ dex8 bundle command.
Alias:
$ dex8 u
Options:
To use options position current working directory to folder above skriptName.
-t --skript <skriptName> upload skript by skript name
-a --all upload all skripts
Examples:
$ dex8 upload -> if we are in the skript folder
$ dex8 upload -t <skriptTitle> -> if we are in the skript parent folder
$ dex8 upload --all -> if we are in the skript parent folder
Update skript details without uploading the skript files. This command will retrieve information from "manifest.json" and "howto.html" to update the skript. While the same can be achieved with $ dex8 upload, this method is faster as it doesn't modify any files. Ensure the current position is within the skript's folder.
Download skript files using the skript_id parameter, which can be located in the Web Panel's Skripts table. This command will initially clear the folder of all files and then replace them with the newly downloaded ones. Prior to utilizing this command, login is necessary, and the "dex8-auth.json" file must be created.
Alias:
$ dex8 d
The documentation is available at https://www.dex8.com/docs .
The software is licensed under AGPL-3.0 .
FAQs
Dex8 CLI is a command line interface which helps developers to create and run dex8.com skripts (automated serverless scripts).
The npm package dex8-cli receives a total of 1 weekly downloads. As such, dex8-cli popularity was classified as not popular.
We found that dex8-cli demonstrated a healthy version release cadence and project activity because the last version was released less than 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
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.