שאלו את שאלתכם וקבלו סיכום של המסמך על ידי הפניה לדף הזה ולספק ה-AI שתבחרו
היסטוריית גרסאות
- "Add absolute output option to list command"v7.5.126.1.2026
- "Add JSON output option to list command"v7.5.116.1.2026
התוכן של הדף הזה תורגם באמצעות AI.
צפייה בגרסה האחרונה של התוכן המקורי באנגליתאם יש לכם רעיון לשיפור התיעוד הזה, אל תהססו לתרום על ידי הגשת Pull Request ב-GitHub.
קישור GitHub לתיעודהעתקת ה-Markdown של המסמך ללוח
List content declaration files
העתקת הקוד ללוח
Aliases:
npx intlayer list
This command displays all content declaration files in your project, showing their dictionary keys and file paths. It's useful for getting an overview of all your content files and verifying that they are properly discovered by Intlayer.
Arguments:
--json: Output the results as JSON instead of formatted text. Useful for scripting and programmatic access.Example:
npx intlayer content list --json
Examples:
List content declaration files:
העתקת הקוד ללוח
Output as JSON:
העתקת הקוד ללוח
Output as absolute paths:
העתקת הקוד ללוח
Example output:
Formatted output:
העתקת הקוד ללוח
JSON output:
העתקת הקוד ללוח
This command will output:
- A formatted list of all content declaration files with their keys and relative file paths
- The total count of content declaration files found
The output helps you verify that all your content files are properly configured and discoverable by the Intlayer system.
