Yazar:
    Oluşturma:2024-08-11Son güncelleme:2025-11-22

    CLI SDK

    CLI SDK, Intlayer CLI'yı kendi kodunuzda kullanmanızı sağlayan bir kütüphanedir.

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

    Kullanım örneği:

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