Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
The table of contents is too big for display.
Diff view
Diff view
  •  
  •  
  •  
14 changes: 7 additions & 7 deletions README.en.md
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
# workspace-cli
# chaitin-cli

[![CI](https://img.shields.io/github/actions/workflow/status/chaitin/workspace-cli/ci.yml?branch=main&label=CI)](https://github.com/chaitin/workspace-cli/actions/workflows/ci.yml)
[![Release](https://img.shields.io/github/v/release/chaitin/workspace-cli?label=Release)](https://github.com/chaitin/workspace-cli/releases)
[![Go Version](https://img.shields.io/github/go-mod/go-version/chaitin/workspace-cli?label=Go)](https://github.com/chaitin/workspace-cli/blob/main/go.mod)
[![License](https://img.shields.io/github/license/chaitin/workspace-cli?label=License)](https://github.com/chaitin/workspace-cli/blob/main/LICENSE)
[![CI](https://img.shields.io/github/actions/workflow/status/chaitin/chaitin-cli/ci.yml?branch=main&label=CI)](https://github.com/chaitin/chaitin-cli/actions/workflows/ci.yml)
[![Release](https://img.shields.io/github/v/release/chaitin/chaitin-cli?label=Release)](https://github.com/chaitin/chaitin-cli/releases)
[![Go Version](https://img.shields.io/github/go-mod/go-version/chaitin/chaitin-cli?label=Go)](https://github.com/chaitin/chaitin-cli/blob/main/go.mod)
[![License](https://img.shields.io/github/license/chaitin/chaitin-cli?label=License)](https://github.com/chaitin/chaitin-cli/blob/main/LICENSE)

Chaitin Workspace CLI for products
Unified CLI for Chaitin security products

## Demo

Expand Down Expand Up @@ -139,7 +139,7 @@ This is equivalent to:
This project provides an AI Agent skill. Once installed, AI agents (Claude Code, Cursor, etc.) can invoke `cws` commands to manage Chaitin security products directly.

```bash
npx skills add chaitin/workspace-cli
npx skills add chaitin/chaitin-cli
```

After installation, simply describe your needs to the AI agent, for example:
Expand Down
12 changes: 6 additions & 6 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
# workspace-cli
# chaitin-cli

[![CI](https://img.shields.io/github/actions/workflow/status/chaitin/workspace-cli/ci.yml?branch=main&label=CI)](https://github.com/chaitin/workspace-cli/actions/workflows/ci.yml)
[![Release](https://img.shields.io/github/v/release/chaitin/workspace-cli?label=Release)](https://github.com/chaitin/workspace-cli/releases)
[![Go Version](https://img.shields.io/github/go-mod/go-version/chaitin/workspace-cli?label=Go)](https://github.com/chaitin/workspace-cli/blob/main/go.mod)
[![License](https://img.shields.io/github/license/chaitin/workspace-cli?label=License)](https://github.com/chaitin/workspace-cli/blob/main/LICENSE)
[![CI](https://img.shields.io/github/actions/workflow/status/chaitin/chaitin-cli/ci.yml?branch=main&label=CI)](https://github.com/chaitin/chaitin-cli/actions/workflows/ci.yml)
[![Release](https://img.shields.io/github/v/release/chaitin/chaitin-cli?label=Release)](https://github.com/chaitin/chaitin-cli/releases)
[![Go Version](https://img.shields.io/github/go-mod/go-version/chaitin/chaitin-cli?label=Go)](https://github.com/chaitin/chaitin-cli/blob/main/go.mod)
[![License](https://img.shields.io/github/license/chaitin/chaitin-cli?label=License)](https://github.com/chaitin/chaitin-cli/blob/main/LICENSE)

长亭安全产品统一命令行工具

Expand Down Expand Up @@ -140,7 +140,7 @@ ln -s ./bin/cws ./chaitin
本项目提供了 AI Agent skill,安装后 AI Agent(Claude Code、Cursor 等)可以直接调用 `cws` 命令管理长亭安全产品。

```bash
npx skills add chaitin/workspace-cli
npx skills add chaitin/chaitin-cli
```

安装后,向 AI Agent 描述需求即可,例如:
Expand Down
6 changes: 3 additions & 3 deletions cmd/gen-cli/main.go
Original file line number Diff line number Diff line change
Expand Up @@ -187,7 +187,7 @@ import (
"io"
"os"

"github.com/chaitin/workspace-cli/products/safeline/pkg/client"
"github.com/chaitin/chaitin-cli/products/safeline/pkg/client"
"github.com/spf13/cobra"
)

Expand Down Expand Up @@ -300,11 +300,11 @@ var registerTmpl = template.Must(template.New("register").Parse(`// Code generat
package modules

import (
"github.com/chaitin/workspace-cli/products/safeline/pkg/client"
"github.com/chaitin/chaitin-cli/products/safeline/pkg/client"
"github.com/spf13/cobra"
)
{{range $name := .}}
import {{$name}} "github.com/chaitin/workspace-cli/products/safeline/modules/{{$name}}"
import {{$name}} "github.com/chaitin/chaitin-cli/products/safeline/modules/{{$name}}"
{{end}}

// RegisterAll registers all safeline module commands.
Expand Down
2 changes: 1 addition & 1 deletion go.mod
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
module github.com/chaitin/workspace-cli
module github.com/chaitin/chaitin-cli

go 1.25.0

Expand Down
16 changes: 8 additions & 8 deletions main.go
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,14 @@ import (
"path/filepath"
"strings"

"github.com/chaitin/workspace-cli/config"
"github.com/chaitin/workspace-cli/products/chaitin"
"github.com/chaitin/workspace-cli/products/cloudwalker"
"github.com/chaitin/workspace-cli/products/ddr"
"github.com/chaitin/workspace-cli/products/safeline"
safelinece "github.com/chaitin/workspace-cli/products/safeline-ce"
"github.com/chaitin/workspace-cli/products/tanswer"
"github.com/chaitin/workspace-cli/products/xray"
"github.com/chaitin/chaitin-cli/config"
"github.com/chaitin/chaitin-cli/products/chaitin"
"github.com/chaitin/chaitin-cli/products/cloudwalker"
"github.com/chaitin/chaitin-cli/products/ddr"
"github.com/chaitin/chaitin-cli/products/safeline"
safelinece "github.com/chaitin/chaitin-cli/products/safeline-ce"
"github.com/chaitin/chaitin-cli/products/tanswer"
"github.com/chaitin/chaitin-cli/products/xray"
"github.com/spf13/cobra"
)

Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions products/cloudwalker/cli/abnormal_login_event/delete_event.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions products/cloudwalker/cli/abnormal_login_event/get_event.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions products/cloudwalker/cli/abnormal_login_event/mark_as_read.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion products/cloudwalker/cli/admin_agent/admin_agent_cmd.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading