Aller au contenu principal

Menu de commandes

Accédez à une page ou recherchez dans le catalogue

Outils et scripts IA

Page de référence CLI : documentation en ligne de commande à partir de votre code

Pour les développeurs : pointez votre agent sur le dépôt et obtenez la page de référence de votre CLI, tirée de son propre code : chaque commande et option avec sa valeur par défaut et ses choix, des exemples n'utilisant que de vrais drapeaux, des codes de sortie et des messages d'erreur avec des formulations plus claires, chacun avec fichier et ligne. وثائق أوامر CLI من الكود نفسه.

$5.00

Ce que vous recevez : 1 fichier · 100.78 KB · ZIP

Voir les options d'achat

Description du produit

English

For developers who ship a command-line tool and need its docs to match the code.

Point your agent at the repository. You get back the reference page for your CLI, built from its own code: every command and option with its default and choices, examples that use only real flags, exit codes and error messages found in the code, and a clearer wording suggested for each message, every fact with its file and line.

What you get each run

  • cli-reference.md: install and run, synopsis, global options, one section per command with argument and option tables, examples, environment variables, exit codes, error messages with suggestions, what was not resolved, and questions for the team.
  • cli-reference.html: the same as one printable page.
  • cli.json: what the scan found, every fact with its file and line.

Read from your code

A bundled Python script (standard library, read-only, no network calls) reads Python argparse, click and typer definitions with the ast module, and Node commander definitions with a tokenizer. It never imports or runs your code. It finds programs, commands, subcommands, options, arguments, choices, defaults, environment variables, exit codes and error messages. Other frameworks (yargs, cobra, clap and others) are listed as found, not read, and anything built at run time is listed as not resolved, never guessed.

Examples that use only what exists

Every example uses commands and flags the scan found, fills every required argument, and follows the parser's own rules. Current error messages are quoted exactly; a clearer wording appears only on a line marked as a suggestion.

Checked, not just written

A checker confirms that every documented command, flag, default and choice matches the scan, every cited line exists and holds the definition, every example uses only known flags with its required arguments, and every suggestion is labelled. The agent fixes and checks again until no FIX is left.

Honest about its limits

The page holds what the scan recognized and what the agent read by hand, and says that completeness is not verified: commands registered at run time or added by helpers may be missing. Examples are matched against the definitions, not run.

Arabic

The page can be written in Arabic with a right-to-left layout; commands, flags and the program's own messages stay exactly as in the code.

In the download: SKILL.md, the scripts, references (the page format, and how to read yargs, cobra, clap and other frameworks by hand), and two complete examples so you can see the output before you buy: a Python click tool with 7 commands in English, and a Node commander tool in Arabic.

بالعربي

للمبرمجين الذين لديهم أداة سطر أوامر ويحتاجون وثائقها مطابقة للكود.

وجّه وكيلك إلى المستودع. تستلم صفحة مرجع أوامر أداتك مبنية من الكود نفسه: كل أمر وخيار مع قيمته الافتراضية واختياراته، وأمثلة لا تستعمل إلا خيارات حقيقية، ورموز الخروج ورسائل الخطأ الموجودة في الكود، مع صياغة أوضح مقترحة لكل رسالة، وكل معلومة بملفها وسطرها.

ماذا تستلم في كل مرة

  • ملف cli-reference.md: التثبيت والتشغيل، والصيغة العامة، والخيارات العامة، وقسم لكل أمر بجداول المعاملات والخيارات، وأمثلة، ومتغيرات البيئة، ورموز الخروج، ورسائل الخطأ مع اقتراحاتها، وما لم يُحسم، وأسئلة للفريق.
  • صفحة cli-reference.html: الشيء نفسه كصفحة واحدة قابلة للطباعة.
  • ملف cli.json: ما وجده الفحص، وكل معلومة مع ملفها وسطرها.

من الكود نفسه

سكربت بايثون مرفق (يقرأ فقط، بلا اتصال بالشبكة) يقرأ تعريفات argparse وclick وtyper في بايثون بوحدة ast، وتعريفات commander في Node بمحلل نصوص. لا يستورد كودك ولا يشغّله. والأطر الأخرى تُذكر كموجودة لم تُقرأ، وما يُبنى وقت التشغيل يُذكر كغير محسوم، ولا يُخمَّن.

أمثلة لا تستعمل إلا ما هو موجود

كل مثال يستعمل أوامر وخيارات وجدها الفحص، ويملأ كل معامل مطلوب. ورسائل الخطأ الحالية منقولة حرفيًا، والصياغة الأوضح تظهر فقط في سطر مكتوب عليه أنه اقتراح.

مدقَّقة، لا مكتوبة فقط

أداة فحص تتأكد أن كل أمر وخيار وقيمة افتراضية واختيار يطابق الفحص، وكل سطر مذكور موجود وفيه التعريف، وكل مثال لا يستعمل إلا خيارات معروفة مع معاملاته المطلوبة. يصلح الوكيل ويعيد الفحص حتى لا يبقى أي FIX.

صادقة في حدودها

الصفحة تحمل ما تعرّف عليه الفحص وما قرأه الوكيل يدويًا، وتقول إن الاكتمال غير مؤكد: الأوامر التي تُسجَّل وقت التشغيل قد تفوت. والأمثلة مطابَقة مع التعريفات، لا مشغَّلة.

العربية

تُكتب الصفحة بالعربي من اليمين إلى اليسار، والأوامر والخيارات ورسائل البرنامج تبقى كما في الكود.

داخل الملف: ملف SKILL.md، والسكربتات، والمراجع، ومثالان كاملان لترى النتيجة قبل الشراء: أداة click في بايثون بسبعة أوامر بالإنجليزي، وأداة commander في Node بالعربي.

Questions / أسئلة

Does it run my program? / هل يشغّل برنامجي؟

No. The scripts read the code with the ast module and a tokenizer; they never import or run it. لا، يقرأ الكود فقط ولا يشغّله.

Which CLI libraries does it read? / أي مكتبات CLI يقرأ؟

Python argparse, click and typer, and Node commander. Others such as yargs, cobra and clap are listed as found, not read, and the reference explains how to read them by hand. argparse وclick وtyper وcommander.

Will it miss anything? / هل يفوته شيء؟

Options built at run time or added by helpers can be missed. The scan lists what it could not resolve, and the page says completeness is not verified. ما يُبنى وقت التشغيل قد يفوت، والصفحة تذكر ذلك.

Are the examples real? / هل الأمثلة حقيقية؟

Every example uses only commands and flags the scan found and fills every required argument. They are checked against the definitions, not run. تستعمل خيارات حقيقية فقط، ومطابَقة مع التعريفات.

Does it change my error messages? / هل يغيّر رسائل الخطأ؟

No. It quotes the current messages exactly and suggests clearer wording on a line marked as a suggestion; changing the code is up to you. لا، ينقلها كما هي ويقترح صياغة أوضح.

Can I keep the page up to date? / هل أحدّث الصفحة لاحقًا؟

Yes. Run the scan and the checker again after a change; the checker shows what no longer matches the code. نعم، أعد الفحص بعد أي تغيير.

Can it be in Arabic? / هل تكون بالعربي؟

Yes, as an added option: a right-to-left page; commands, flags and messages stay as in the code. نعم، والأوامر والرسائل كما في الكود.

Ce que vous recevez

1 fichier · 100.78 KB

  • cli-reference-page-1.0.0.zipZIP · 100.78 KB
LicenceUsage commercial autorisé
Vérification du paquetRéussie

Getly a ouvert les fichiers envoyés et n'a rien trouvé qui empêche leur ouverture. Ce n'est ni une analyse antivirus ni une note de qualité.

Publié13 nov. 2026
Taille du fichier100.78 KB
Format du fichierZIP
Versionv1.0

Tags

clicommand linedocumentationargparseclickcommanderdeveloper toolsarabicai agent skill
R
RR HH

Questions fréquentes

Ai-je accès au produit immédiatement ?

Oui. C'est un produit numérique : vous pouvez le télécharger juste après le paiement, directement depuis votre bibliothèque.

Puis-je l'utiliser pour des projets commerciaux ?

Oui. L'usage commercial est autorisé : utilisez-le dans votre propre activité et dans ce que vous vendez. Vous ne pouvez pas revendre ni redistribuer le fichier lui-même.

Quelle est votre politique de remboursement ?

Vous pouvez demander un remboursement dans un délai de 30 jours. Si quelque chose ne va pas, demandez-le depuis votre commande et l'équipe Getly l'examine.

Quels formats et quelles tailles de fichier vais-je recevoir ?

Vous téléchargerez 1 fichier - ZIP - 100.78 KB au total.

Ai-je droit aux mises à jour gratuites ?

Oui : quand le vendeur publie une nouvelle version, vous pouvez retélécharger les derniers fichiers depuis votre bibliothèque sans frais. Consultez le journal des modifications pour les dernières mises à jour.

Prix

$5.00