Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
File renamed without changes.
4 changes: 2 additions & 2 deletions REFERENCE.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# figma-ds-cli Command Reference

Full command reference for the Figma CLI. For quick start, see CLAUDE.md.
Full command reference for the Figma CLI. For quick start, see GEMINI.md.

## Design Tokens & Variables

Expand Down Expand Up @@ -469,4 +469,4 @@ node src/index.js render '<Frame>...</Frame>'
node src/index.js render '<Frame>...</Frame>'
```

Or use `eval` with native Figma API for maximum control (see "Complex Components" in CLAUDE.md).
Or use `eval` with native Figma API for maximum control (see "Complex Components" in GEMINI.md).
18 changes: 9 additions & 9 deletions bin/fig-start
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
#!/bin/bash

# fig-start — Launch Figma CLI + Claude Code
# Connects to Figma, lets you pick an open file, then launches Claude Code.
# fig-start — Launch Figma CLI + Gemini CLI
# Connects to Figma, lets you pick an open file, then launches Gemini CLI.
#
# Usage:
# fig-start → Yolo Mode (default) with file selector
Expand Down Expand Up @@ -188,12 +188,12 @@ if [ "$SAFE_MODE" = true ]; then
echo ""

# Skip file selector (Safe Mode only sees the active file via plugin)
echo -e " ${GREEN}Launching Claude Code...${NC}"
echo -e " ${GREEN}Launching Gemini CLI...${NC}"
echo ""
if [ "$STAY_HERE" = false ]; then
cd "$REPO_PATH" || exit 1
fi
exec claude
exec gemini
else
# ── Yolo Mode: CDP-based connection ──
# Check if CDP is already accessible (avoid killing/restarting Figma)
Expand Down Expand Up @@ -259,12 +259,12 @@ for f in files:
if [ ${#FILE_TITLES[@]} -eq 0 ]; then
echo -e " ${YELLOW}No Figma files detected.${NC} Open a file in Figma first."
echo ""
echo -e " Launching Claude Code anyway..."
echo -e " Launching Gemini CLI anyway..."
echo ""
if [ "$STAY_HERE" = false ]; then
cd "$REPO_PATH" || exit 1
fi
exec claude
exec gemini
fi

SELECTED_TITLE=""
Expand All @@ -279,11 +279,11 @@ for f in files:
echo -e " ${GREEN}✓ File: ${BOLD}${SELECTED_TITLE}${NC}"
echo ""

# Step 4: Launch Claude Code
echo -e " ${GREEN}Launching Claude Code...${NC}"
# Step 4: Launch Gemini CLI
echo -e " ${GREEN}Launching Gemini CLI...${NC}"
echo ""
if [ "$STAY_HERE" = false ]; then
cd "$REPO_PATH" || exit 1
fi
exec claude
exec gemini
fi
4 changes: 2 additions & 2 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -869,7 +869,7 @@ program.action(async () => {
});

function showQuickStart() {
console.log(chalk.white(' Just ask Claude:\n'));
console.log(chalk.white(' Just ask Gemini:\n'));
console.log(chalk.white(' "Add shadcn colors to my project"'));
console.log(chalk.white(' "Create a blue card with rounded corners"'));
console.log(chalk.white(' "Show me what\'s on the canvas"'));
Expand Down Expand Up @@ -982,7 +982,7 @@ program
// Done!
console.log(chalk.green('\n ✓ Setup complete!\n'));

console.log(chalk.white(' Just ask Claude:\n'));
console.log(chalk.white(' Just ask Gemini:\n'));
console.log(chalk.white(' "Add shadcn colors to my project"'));
console.log(chalk.white(' "Create a blue card with rounded corners"'));
console.log(chalk.white(' "Show me what\'s on the canvas"'));
Expand Down