Source Parts CLI के साथ तेजी से बनाएं
हमारे घटक-केंद्रित कमांड लाइन टूलकिट के साथ अपने पूरे सोर्सिंग वर्कफ्लो को इंस्टॉल, प्रमाणित और स्वचालित करें।
अपने वातावरण के लिए CLI इंस्टॉल करें
macOS, Linux या Windows पर इंस्टॉल करने और Source Parts के साथ प्रमाणित करने के लिए एक कमांड का उपयोग करें।
$ curl -fsSL https://source.parts/cli/install.sh | bashcopyNeed a different platform? Visit the GitHub repository for container images and build instructions.
मिनटों में प्रमाणित करें
Source Parts प्लेटफ़ॉर्म में उपयोग किए जाने वाले समान सुरक्षा मानकों को लागू करें।
$ parts auth logincopyस्कोप्ड API कुंजियाँ उत्पन्न करें
भूमिका-आधारित अनुमतियों और स्वचालित समाप्ति के साथ प्रति वातावरण कुंजियाँ जारी करें।
कम-विशेषाधिकार स्कोप असाइन करें
पढ़ने, लिखने और अनुमोदन पहुंच को नियंत्रित करने के लिए CLI प्रोफाइल को Source Parts भूमिकाओं से मैप करें।
कुंजी रोटेशन को स्वचालित करें
बिल्ट-इन नवीनीकरण आदेशों और नीति अनुस्मारकों का उपयोग करके शेड्यूल पर क्रेडेंशियल्स को रोटेट करें।
Don't have an API key? Create one in your dashboard
कमांड संदर्भ
मुख्य कमांड परिवारों का अन्वेषण करें जो सोर्सिंग, उद्धरण और पूर्ति वर्कफ़्लो को शक्ति देते हैं।
खोज और बुद्धिमत्ता
लाखों घटकों को क्वेरी करें, जीवनचक्र जोखिम का विश्लेषण करें, और मूल्य स्नैपशॉट निर्यात करें।
components search
Search the Source Parts catalog with filters for stock, manufacturer, compliance, and lifecycle status.
$ parts components search --query "stm32f4" --in-stockcopyinventory availability
Return regional inventory, lead times, and allocation windows in real time.
$ parts inventory availability --sku 100-443-ESP32 --region uscopycomponents lifecycle
Inspect lifecycle events, alternates, and risk signals for critical components.
$ parts components lifecycle --mpn ESP32-C3copyउद्धरण और वाणिज्य
उद्धरण, BOM अपलोड और खरीद आदेश वर्कफ़्लो को स्वचालित करें।
quotes create
Upload BOM files, apply pricing tiers, and generate shareable quotes.
$ parts quotes create --file ./bom.csv --customer-id 98213copyorders submit
Convert approved quotes to orders with payment terms and shipment preferences.
$ parts orders submit --quote Q-14233 --method net-30copyfulfillment track
Monitor fulfillment milestones, logistics updates, and delivery ETA.
$ parts fulfillment track --order SO-55821copyस्वचालन और एकीकरण
CLI को CI पाइपलाइन, शेड्यूलर और डाउनस्ट्रीम सिस्टम से कनेक्ट करें।
automation workflows run
Execute saved workflows that bundle multiple commands with approvals and notifications.
$ parts automation workflows run nightly-replenishmentcopyintegrations sync
Synchronize Source Parts data with ERP, PLM, or data warehouses.
$ parts integrations sync --target erpcopyaudit log export
Export command history with user, timestamp, and result metadata for compliance review.
$ parts audit log export --since 7d --format csvcopyस्वचालन व्यंजन
तैयार-से-चलने वाले उदाहरणों के साथ अपने वर्कफ़्लो शुरू करें जिन्हें आप अपने वातावरण के अनुकूल बना सकते हैं।
Sync BOM alternates
Update engineering alternates nightly and persist results to your PLM.
parts quotes bom-sync --project ${PROJECT_ID} | plmctl import --workspace hardwarecopyMonitor lifecycle risk
Schedule a job that flags lifecycle changes and sends alerts to Slack.
parts components lifecycle --mpn $1 --json | jq '.alerts[]' | slackctl send --channel sourcing-alertscopy
Gate releases in CI
Fail builds when BOM risk exceeds tolerance before merging to main.
parts automation evaluate --workflow ci-bom-check || exit 1copy
एक बार कॉन्फ़िगर करें, हर जगह पुन: उपयोग करें
प्रोफाइल टीमों को रहस्यों को सुरक्षित रखते हुए कनेक्शन साझा करने देते हैं।
output.format
Control the default response format across commands (json, table, csv).
{"output": { "format": "table" }}copyprofile
Named profile used to scope credentials and default workspace settings.
{"default": "production"}copyworkspaceId
Source Parts workspace identifier used to fetch quotes, orders, and analytics.
{"workspaceId": "org-sp-enterprise"}copyअक्सर पूछे जाने वाले प्रश्न
रोलआउट, सुरक्षा और दिन-प्रतिदिन के संचालन के लिए उत्तर।
How quickly can we adopt the CLI?
Most teams install, configure profiles, and automate their first workflow within a single sprint.
Can we manage multiple environments?
Yes. Profiles isolate credentials for sandbox, staging, and production environments with a single config file.
Do CLI commands count against API rate limits?
CLI traffic honors the same rate limits as direct API usage and surfaces headers for monitoring.
Where do we get help if something fails?
Use the support portal for tickets or escalate via Slack channels included with paid plans.