Security News
Highlights from the 2024 Rails Community Survey
A record 2,709 developers participated in the 2024 Ruby on Rails Community Survey, revealing key tools, practices, and trends shaping the Rails ecosystem.
Dex8 CLI is a command line interface which helps developers to create and run dex8.com tasks (automated serverless scripts).
DEX8 CLI is a command line interface which helps developers to create and execute Dex8 Tasks (automated serverless scripts).
The mainApi is used for login, upload task, download task and update the task on the Dex8 Serverless Platform Define Main API URL:
export DEX8_MAINAPI="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 tasks from command line.
Use this command to start a new project (Dex8 Task). It will create a taskName folder with initial files. a) After init, move to created directory to continue using dex8 commands: $ cd taskName b) Open "manifest.json" file and modify title to taskName.
Login to Dex8 Web Panel with your username and password. After successfully logging in, a "conf.js" file is created. It contains a JWT Authentication Token and other sensitive data so please include it in .gitignore and NEVER push this file in the git repository.
Logout from Dex8 Web Panel. It is highly recommended to logout every time development work is finished because it will delete the "conf.js" file.
Delete a Dex8 task. This command will delete the whole taskName folder. Curent working directory can be either in taskName or in its upper, parent directory.
When a task is created use this command to run a Dex8 task locally. Echo messages will be printed in terminal.
Options:
-i --input <inputFile.js> select input file (initial data for Dex8 task)
Upload the task on the Dex8 serverless platform.
Alias:
$ dex8 u <taskName>
Options:
To use options position current working directory to folder above taskName.
-t --task <taskName> upload task by task name
-a --all upload all tasks
Update task details without uploading the task files. This command will read what is written in "manifest.json" and "howto.html" and update the task. Althgough same can be done with "$dex8 upload" this is much faster because it will not change files. The position have to be in the task's folder.
Download task files by task_id. Parameter task_id can be found in Web Panel / Tasks table. This command will first delete all files in the folder and then create new, downloaded files. Login is required before using this command e.g. "conf.js" file must be created.
Alias:
$ dex8 d
Documentation is available at https://www.dex8.com/docs/cli .
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).
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
A record 2,709 developers participated in the 2024 Ruby on Rails Community Survey, revealing key tools, practices, and trends shaping the Rails ecosystem.
Security News
In 2023, data breaches surged 78% from zero-day and supply chain attacks, but developers are still buried under alerts that are unable to prevent these threats.
Security News
Solo open source maintainers face burnout and security challenges, with 60% unpaid and 60% considering quitting.