تخطَّ إلى المحتوى
TakoAPI
العودة إلى المهارات

frappecli

بواسطة pasogott

Self-Hosted & Automation
1.9kالتنزيلات وفق ما يذكره clawskills.sh
1النجوم
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

شغّل أمر واجهة سطر الأوامر، أو الصق النص في Claude Code أو Cursor أو Codex أو أي وكيل برمجة تستخدمه.

الروابط