Skip to content

Commit a31af7a

Browse files
committed
add publish agent
1 parent c673a8a commit a31af7a

File tree

3 files changed

+25
-1
lines changed

3 files changed

+25
-1
lines changed

docs/agents/2_firstExtension.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@ Follow the steps below to create a new agent using Codebolt.
77

88
### Step 1: Open Your Terminal and Run the Command
99

10-
Open your terminal in the directory where you want the agent to be created and run the following command:
10+
Open your terminal in the directory where you want the agent to be created and run the following command:
1111

1212
```bash
1313
npx create-codebolt-agent your-agent-name

docs/agents/3_publishExtension.md

+24
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,24 @@
1+
2+
# Publish Extension
3+
4+
### Publish an Agent Using codebolt-cli
5+
6+
Follow these steps to publish an agent using `npx codebolt-cli publish` in the desired directory:
7+
8+
### Step 1: Log in to the Codebolt Portal
9+
Before publishing an agent, you need to log in to the Codebolt portal. Use the following command to generate a login URL:
10+
11+
```bash
12+
npx codebolt-cli login
13+
```
14+
15+
This command will generate a URL. Copy the URL, open it in your browser, and log in to the portal. Once the login is successful, proceed to the next step.
16+
17+
### Step 2: Publish the Agent
18+
Once you're in the correct directory and logged in, publish the agent using the following command:
19+
20+
```bash
21+
npx codebolt-cli publish
22+
```
23+
24+
![publish agent](../../static/img/publish_agent.png)

static/img/publish_agent.png

43.2 KB
Loading

0 commit comments

Comments
 (0)