المؤلف:
    إنشاء:2024-08-11آخر تحديث:2025-11-22

    SDK سطر الأوامر

    SDK سطر الأوامر هو مكتبة تتيح لك استخدام سطر أوامر Intlayer في كودك الخاص.

    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();
    // ...