מחבר:
    נוצר:2024-08-11עדכון אחרון:2026-11-03

    ערכת פיתוח CLI (CLI SDK)

    ה-CLI SDK היא ספרייה המאפשרת לך להשתמש ב-Intlayer CLI בתוך קוד משלך.

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

    דוגמה לשימוש:

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