Auteur:
    Création:2024-08-11Dernière mise à jour:2025-11-22

    SDK CLI

    Le SDK CLI est une bibliothèque qui vous permet d'utiliser la CLI Intlayer dans votre propre code.

    bash
    npm install @intlayer/cli --save-dev
    

    Exemple d'utilisation :

    ts
    import {
      push,
      pull,
      fill,
      build,
      listContentDeclaration,
      testMissingTranslations,
      docTranslate,
      docReview,
      extract,
    } from "@intlayer/cli";
    
    push();
    // ...
    pull();
    // ...
    fill();
    // ...
    build();
    // ...
    listContentDeclaration();
    // ...
    testMissingTranslations();
    // ...
    docTranslate();
    // ...
    docReview();
    // ...
    extract();
    // ...