pasogott

Frappecli

開発v0.1.1
作者:pasogott更新日 2026-05-11全 2 バージョン · 最新版の公開日 2026-01-08frappecli@clawhub_pasogott/frappecli
バックエンド開発スクリプトツール

AlphaMoatによると、2026-09時点でFrappecliのダウンロード数は3,310、スター数は1で、AIスキル全体5,078件中3,418位、開発では577件中436位です。

インストール数
106
ダウンロード数
3310
スター数
1
総合順位
#3,418
全体の上位 68% · 開発の上位 76%
プラットフォームインストール数ダウンロード数スター数コメント
ClawHub ↗10633101-
SkillHub ↗10532321—

プラットフォームごとに集計方法と集計時点が異なります。

このスキルでできること

主文ではサイト情報の参照、文書の一覧・取得・作成・更新・削除、ファイルのアップロードとダウンロード、レポート出力、RPC 呼び出し、複数サイトの切り替えを扱っています。設定には API 認証情報が含まれ、一部コマンドは本番データの変更、ファイルのアップロード、レポート出力、カスタムメソッドの実行ができます。まず staging で試し、最小権限の認証情報を使って設定ファイルを保護してください。本番での更新、削除、アップロード、出力、RPC は事前に明示的な承認を得てください。

資料公開日 2026-10-29

できること

  • サイトの DocType と文書情報を確認する
  • テスト環境でファイルを整理したりレポートを実行したりする
  • 複数の Frappe/ERPNext サイトから対象を選ぶ

使う場面

  • Frappe または ERPNext のデータを CLI で管理する必要が明確なとき
  • staging 環境と最小権限の API 認証情報を用意できるとき
  • 本番の書き込み、アップロード、出力、RPC を人が事前承認できるとき

プロンプト例

スキルのドキュメントをもとに生成した例であり、実際の実行結果ではありません。

データを変更せず staging で Customer 文書を読む
文書削除前に対象サイト、文書、バックアップを確認する項目を挙げる
API キーの値を表示せず設定ファイルで安全に保護する方法を説明する

月次の推移

ダウンロード数3310
2051272734032026-03 · ダウンロード数 21442026-05 · ダウンロード数 26402026-06 · ダウンロード数 27752026-07 · ダウンロード数 30152026-08 · ダウンロード数 31642026-09 · ダウンロード数 331026-0326-09
スター数1
0122026-03 · スター数 12026-05 · スター数 12026-06 · スター数 12026-07 · スター数 12026-08 · スター数 12026-09 · スター数 126-0326-09

2026-09 から集計方法を変更し、同名スキルを作者ごとに分けて集計し、全スキルを対象にしました。破線は変更前の月で、変更後のデータとは直接比較せず、変更をまたぐ増減も計算していません。

月ダウンロード数前月比スター数
2026-093310—1
2026-083164+4.9%1
2026-073015+8.6%1
2026-062775+5.1%1
2026-052640—1
2026-032144—1

SKILL.md 原文

作者が公開した元のファイルをテキストのまま表示しています。AlphaMoat による編集や審査はしていません。リンクはクリックできません。コマンドは内容を確認してから実行してください。取得日 2026-10-23。

3.3 KB・ClawHub v0.1.1
---
name: frappecli
version: 0.1.0
description: CLI for Frappe Framework / ERPNext instances. Use when user asks about "Frappe", "ERPNext", "doctypes", "Frappe API", or needs to manage documents, files, reports, or call RPC methods on a Frappe site.
tools: [bash]
---

# frappecli

CLI for managing Frappe Framework instances via REST API.
すべて表示(全 146 行)

## Installation

```bash
brew tap pasogott/tap
brew install frappecli
```

Or from source:
```bash
git clone https://github.com/pasogott/frappecli.git
cd frappecli && uv sync && uv pip install -e .
```

## Configuration

Create `~/.config/frappecli/config.yaml`:

```yaml
sites:
  production:
    url: https://erp.company.com
    api_key: your_api_key
    api_secret: your_api_secret
  staging:
    url: https://staging.company.com
    api_key: your_staging_key
    api_secret: your_staging_secret

default_site: production
```

## Commands

### Site Management
```bash
frappecli site doctypes                    # List all doctypes
frappecli site doctypes --module "Core"    # Filter by module
frappecli site info "User"                 # Get doctype details
```

### Document CRUD
```bash
# List documents
frappecli doc list Customer
frappecli doc list Customer --filters '{"status":"Active"}' --limit 10

# Get single document
frappecli doc get Customer CUST-001
frappecli doc get Customer CUST-001 --fields name,customer_name,status

# Create document
frappecli doc create Customer --data '{"customer_name":"Acme","customer_type":"Company"}'

# Update document
frappecli doc update Customer CUST-001 --data '{"status":"Inactive"}'

# Delete document
frappecli doc delete Customer CUST-001
```

### File Management
```bash
# Upload file (private by default)
frappecli file upload invoice.pdf --doctype "Sales Invoice" --docname "INV-001"

# Upload public file
frappecli file upload logo.png --public

# Download file
frappecli file download /private/files/invoice.pdf -o ./downloads/

# List files for document
frappecli file list --doctype "Sales Invoice" --docname "INV-001"
```

### Reports
```bash
# Run report (JSON output)
frappecli report run "General Ledger" --filters '{"company":"My Company"}'

# Export to CSV
frappecli report run "Accounts Receivable" --format csv -o report.csv
```

### RPC Methods
```bash
# Call custom method
frappecli rpc frappe.ping

# With arguments
frappecli rpc myapp.api.process_data --args '{"doc_id":"DOC-001"}'
```

### Multi-Site
```bash
# Use specific site
frappecli --site staging doc list Customer

# Switch default site
frappecli config set default_site staging
```

## Output Formats

```bash
frappecli doc list Customer --format table   # Pretty table (default)
frappecli doc list Customer --format json    # JSON
frappecli doc list Customer --format csv     # CSV
```

## Examples

### Bulk Operations
```bash
# Export all active customers
frappecli doc list Customer --filters '{"status":"Active"}' --format csv > customers.csv

# Get document with child tables
frappecli doc get "Sales Invoice" INV-001 --fields '*'
```

### Integration with jq
```bash
# Get customer names only
frappecli doc list Customer --format json | jq -r '.[].customer_name'

# Count by status
frappecli doc list Customer --format json | jq 'group_by(.status) | map({status: .[0].status, count: length})'
```

## Links

- **Repository:** https://github.com/pasogott/frappecli
- **Homebrew:** `brew install pasogott/tap/frappecli`

開発の人気スキル

pasogottのその他のスキル

データ月:2026-09 · ダウンロード数、スター数、インストール数は公開スキルレジストリ(ClawHub、SkillHub)から月単位で集計しています。詳しくはデータの方法論をご覧ください。