Receive notifications about upcoming Intlayer releases
    Creation:2024-08-11Last update:2025-11-22

    List content declaration files

    npx intlayer content list

    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.

    Example:

    npx intlayer content list

    Example output:

    npx intlayer content listContent declaration files: - home-page        - src/components/HomePage/homePage.content.ts - server-component - src/components/ServerComponent/serverComponent.content.ts - client-component - src/components/ClientComponent/clientComponent.content.tsTotal content declaration files: 3

    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.

    Receive notifications about upcoming Intlayer releases