kha_plugins_cli v2.4.2
Kha Plugins CLI
Kha Plugins CLI is a command-line tool for managing your work with multiple websites on KhaCloud based cloud services. Documentation for Plugins development can be found here in the near future.
Requirements
- Node.js 12 or higher
- NPM (comes with Node.js)
- NPX
- A KhaCloud based cloud service account
Installation
sudo npm install -g kha_plugins_cli
For windows users: Open a command prompt as administrator and run the following command before installation:
Set-ExecutionPolicy RemoteSigned
Update
sudo npm update -g kha_plugins_cli
Usage
Configuration
Before using Kha Plugins CLI, you need to set up your kha-plugin-config.jsonc
file
Commands
Plugin's commands
khap upload
Uploads your work to the default website
khap routes
Shows the API and WEB routes endpoints
khap listen
Listens for changes in your work and uploads them to the website
khap init
Initializes a new Kha Plugins project
khap ai
Runs an AI task, It's based on OpenAI's GPT-3 API, Some tasks require GPT-3 16K model, OpenAI key is required
Plugin's theme commands
khap theme
Shows the theme commands list, and the available themes
khap theme init <THEME_NAME>
Initializes a new theme
khap theme upload <THEME_NAME>
Uploads the all the theme files/settings to the website
khap theme static-upload <THEME_NAME>
Uploads the theme static files to the website
8 days ago
8 days ago
18 days ago
18 days ago
2 months ago
2 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
4 months ago
5 months ago
8 months ago
8 months ago
7 months ago
8 months ago
7 months ago
8 months ago
9 months ago
9 months ago
9 months ago
9 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago
10 months ago