Skip to content

ellxoft/ellx-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

41 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Ellx CLI

Ellx CLI enables local development in Ellx. Simply run

ellx -u your-ellx-username

to serve current working directory in Ellx. Select "Ellx CLI connect" in the Ellx user menu and input server identity value ("localhost~3002" by default) and that's it!

Installation

npm i -g @ellx/cli or yarn global add @ellx/cli

Options

Option, alias Default Description
--user, -u required Ellx username
--port, -p 3002 Serve on this port
--identity, -i localhost~port Local server instance identity (the value you should input in "Ellx CLI connect")
--root, -r cwd Directory to serve

Syncing with Github

Please refer to this section of Ellx docs on how to set up Github action to sync a repository and an Ellx project.

Server REST API

Path Parameters Description
GET /identity retrieve the identity of the server (default: localhost-port)
GET /resource/:path retrieve the resource (a file or a folder index)
POST /resource/:path action (move/copy), destination move or copy the resource
DELETE /resource/:path delete the resource
PUT /resource/:folderPath files: [[path, contents]] create or update multiple files or folders

About

ELLX resource server

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •