跳到正文
TakoAPI
返回技能列表

frappecli

由 pasogott 提供

Self-Hosted & Automation
1.9k下载量由 clawskills.sh 提供
1星标
0浏览量
0 个赞登录后即可为这个技能点赞
—暂无评分
你的评分

简介

CLI for Frappe Framework / ERPNext instances.

描述

该技能的功能

frappecli is a command-line tool for managing Frappe Framework and ERPNext instances via REST API. It supports full document CRUD, file uploads and downloads, report generation, and calling custom RPC methods across multiple configured sites.

Automating Frappe document operations from the terminal avoids manual UI steps and enables scripting bulk exports, updates, and report generation in CI or cron jobs.

何时使用

  • Exporting filtered customer records to CSV for offline analysis
  • Uploading invoice PDFs directly to a Sales Invoice document
  • Running an Accounts Receivable report and saving it as a file
  • Calling a custom backend RPC method during a deployment script
  • Switching between staging and production ERPNext sites without changing credentials

示例工作流

输入

User asks: export all active customers from the production site to a CSV

智能体
  1. 1

    Check ~/.config/frappecli/config.yaml to confirm production site is set as default

  2. 2

    Run frappecli doc list Customer --filters '{"status":"Active"}' --format csv

  3. 3

    Redirect output to customers.csv

  4. 4

    Confirm row count with wc -l customers.csv

输出

customers.csv file containing all active customer records from the ERPNext production instance

前置要求

  • Frappe or ERPNext site URL
  • API key and API secret generated from Frappe user settings (Settings > API Access)

安装

clawhub install pasogott/frappecli

运行 CLI 命令,或把这段提示词粘贴到 Claude Code、Cursor、Codex 或你在用的任意编程智能体里。

链接