mirror of
https://gitea.toothfairyai.com/ToothFairyAI/tf_code.git
synced 2026-04-01 14:52:25 +00:00
feat: tfcode beta
This commit is contained in:
66
packages/tfcode/scripts/quickstart.cjs
Normal file
66
packages/tfcode/scripts/quickstart.cjs
Normal file
@@ -0,0 +1,66 @@
|
||||
#!/usr/bin/env node
|
||||
|
||||
console.log(`
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
tfcode - Quick Start Guide
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
Welcome to tfcode! Follow these steps to get started:
|
||||
|
||||
┌─────────────────────────────────────────────────────────────┐
|
||||
│ STEP 1: Set Your Credentials │
|
||||
├─────────────────────────────────────────────────────────────┤
|
||||
│ │
|
||||
│ export TF_WORKSPACE_ID="your-workspace-id" │
|
||||
│ export TF_API_KEY="your-api-key" │
|
||||
│ export TF_REGION="au" │
|
||||
│ │
|
||||
│ Regions: au (Australia), eu (Europe), us (United States) │
|
||||
│ │
|
||||
└─────────────────────────────────────────────────────────────┘
|
||||
|
||||
┌─────────────────────────────────────────────────────────────┐
|
||||
│ STEP 2: Validate Connection │
|
||||
├─────────────────────────────────────────────────────────────┤
|
||||
│ │
|
||||
│ tfcode validate │
|
||||
│ │
|
||||
│ This checks your credentials are correct. │
|
||||
│ │
|
||||
└─────────────────────────────────────────────────────────────┘
|
||||
|
||||
┌─────────────────────────────────────────────────────────────┐
|
||||
│ STEP 3: Sync Your Tools │
|
||||
├─────────────────────────────────────────────────────────────┤
|
||||
│ │
|
||||
│ tfcode sync │
|
||||
│ │
|
||||
│ This downloads your tools from ToothFairyAI. │
|
||||
│ │
|
||||
└─────────────────────────────────────────────────────────────┘
|
||||
|
||||
┌─────────────────────────────────────────────────────────────┐
|
||||
│ STEP 4: Start Coding! │
|
||||
├─────────────────────────────────────────────────────────────┤
|
||||
│ │
|
||||
│ tfcode │
|
||||
│ │
|
||||
│ Start the AI coding assistant. │
|
||||
│ │
|
||||
└─────────────────────────────────────────────────────────────┘
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
Useful Commands:
|
||||
|
||||
tfcode validate Test your credentials
|
||||
tfcode sync Sync tools from workspace
|
||||
tfcode tools list Show all your tools
|
||||
tfcode Start coding assistant
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
|
||||
Need help? https://toothfairyai.com/developers/tfcode
|
||||
|
||||
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
|
||||
`);
|
||||
Reference in New Issue
Block a user