{"id":47587488,"url":"https://github.com/bianliuzhu/an-cli","last_synced_at":"2026-05-14T07:04:21.799Z","repository":{"id":65927131,"uuid":"601137919","full_name":"bianliuzhu/an-cli","owner":"bianliuzhu","description":"Front-end command line tools","archived":false,"fork":false,"pushed_at":"2026-05-09T09:09:57.000Z","size":1318,"stargazers_count":4,"open_issues_count":0,"forks_count":2,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-05-09T11:20:03.211Z","etag":null,"topics":["automatic-lint-tool-generation","custom-git-commands","swagger-codegen"],"latest_commit_sha":null,"homepage":"https://www.npmjs.com/package/anl?activeTab=readme","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/bianliuzhu.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2023-02-13T12:57:58.000Z","updated_at":"2026-05-09T09:09:15.000Z","dependencies_parsed_at":"2026-02-25T08:16:52.379Z","dependency_job_id":null,"html_url":"https://github.com/bianliuzhu/an-cli","commit_stats":{"total_commits":20,"total_committers":1,"mean_commits":20.0,"dds":0.0,"last_synced_commit":"16cd6044d978221dc1632006f5e524c02573d9fb"},"previous_names":[],"tags_count":51,"template":false,"template_full_name":null,"purl":"pkg:github/bianliuzhu/an-cli","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bianliuzhu%2Fan-cli","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bianliuzhu%2Fan-cli/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bianliuzhu%2Fan-cli/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bianliuzhu%2Fan-cli/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/bianliuzhu","download_url":"https://codeload.github.com/bianliuzhu/an-cli/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/bianliuzhu%2Fan-cli/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":33014205,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-13T13:14:54.681Z","status":"online","status_checked_at":"2026-05-14T02:00:06.663Z","response_time":57,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["automatic-lint-tool-generation","custom-git-commands","swagger-codegen"],"created_at":"2026-04-01T16:34:04.363Z","updated_at":"2026-05-14T07:04:21.759Z","avatar_url":"https://github.com/bianliuzhu.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## 🌐 Language / 语言\n\n[English](https://bianliuzhu.github.io/an-cli/#/en/) | [简体中文](https://bianliuzhu.github.io/an-cli/#/zh-cn/) | [日本語](https://bianliuzhu.github.io/an-cli/#/jp/) | [Español](https://bianliuzhu.github.io/an-cli/#/es/) | [Français](https://bianliuzhu.github.io/an-cli/#/fr/) | [Русский](https://bianliuzhu.github.io/an-cli/#/ru/) | [العربية](https://bianliuzhu.github.io/an-cli/#/ar/)\n\n---\n\n# Overview\n\n\u003e an-cli is a frontend command-line tool that includes the following commands:\n\u003e\n\u003e - `anl type` command: A command-line tool that automatically generates TypeScript type definitions and API request functions based on Swagger JSON.\n\u003e - `anl lint` command: Generates eslint, stylelint, prettier, commitLint, and VSCode related configurations for React or Vue projects\n\u003e - `anl git` command: Generates git local configuration with optional features: gitflow standard branch creation, git commit messages subject, and git custom command configuration\n\n## Features\n\n- `anl type`\n  - 🚀 Automatically parses Swagger JSON documentation\n  - 📦 Generates TypeScript type definition files\n  - 🔄 Generates type-safe API request functions\n  - 🎯 Supports path parameters, query parameters, and request body\n  - 📝 Automatically generates enum type definitions\n  - 🎨 Supports code formatting\n  - ⚡️ Supports file upload\n  - 🛠 Configurable code generation options\n  - 🌐 Supports multiple Swagger server configurations\n  - 🔧 Supports HTTP methods like OPTIONS, HEAD, SEARCH\n\n- `anl lint`\n  - 🔍 One-click configuration for various lint tools\n  - 🎨 Automated ESLint configuration\n  - 🎯 Prettier formatting configuration\n  - 🔄 CommitLint commit standards\n  - 📦 VSCode editor configuration\n\n- `anl git`\n  - 🔍 Multiple optional features for installation\n  - 🎨 Standard git flow branch creation\n  - 🎯 Automatic subject setting that complies with CommitLint commit standards\n  - 🔄 Provides git custom command configuration and entry points\n  - 📦 Automated generation with zero configuration\n\n---\n\n# 功能概述\n\n\u003e an-cli 是前端命令行工具，包含以下命令:\n\u003e\n\u003e - `anl type` 命令：基于 Swagger JSON 自动生成 TypeScript 类型定义和 API 请求函数的命令行工具。\n\u003e - `anl lint` 命令: 生成 react 或 vue 项目 eslint、stylelint、prettier、commitLint、VSCode相关配置\n\u003e - `anl git` 命令: 生成 git 本地配置，并设有可选功能： gitflow 标准分支创建、git commit messages 主题、git 自定义命令配置\n\n## 功能特点\n\n- `anl type`\n  - 🚀 自动解析 Swagger JSON 文档\n  - 📦 生成 TypeScript 类型定义文件\n  - 🔄 生成类型安全的 API 请求函数\n  - 🎯 支持路径参数、查询参数和请求体\n  - 📝 自动生成枚举类型定义\n  - 🎨 支持代码格式化\n  - ⚡️ 支持文件上传\n  - 🛠 可配置的代码生成选项\n  - 🌐 支持多 Swagger 服务器配置\n  - 🔧 支持 OPTIONS、HEAD、SEARCH 等 HTTP 方法\n\n- `anl lint`\n  - 🔍 一键配置各种 lint 工具\n  - 🎨 ESLint 配置自动化\n  - 🎯Prettier 格式化配置\n  - 🔄 CommitLint 提交规范\n  - 📦 VSCode 编辑器配置\n\n- `anl git`\n  - 🔍 多种功能可选安装\n  - 🎨 标准 git flow 分支创建\n  - 🎯 符合 CommitLint 提交规范的主题自动设置\n  - 🔄 提供 git 自定义命令配置以及入口\n  - 📦 自动化生成 0 配置\n\n---\n\n# نظرة عامة على الوظائف\n\n\u003e an-cli هو أداة سطر أوامر للواجهة الأمامية، يتضمن الأوامر التالية:\n\u003e\n\u003e - أمر `anl type`: أداة سطر أوامر لتوليد تعريفات أنواع TypeScript ودوال طلبات API تلقائيًا بناءً على Swagger JSON.\n\u003e - أمر `anl lint`: توليد تكوينات eslint و stylelint و prettier و commitLint و VSCode ذات الصلة لمشاريع react أو vue\n\u003e - أمر `anl git`: توليد تكوين git المحلي، مع وظائف اختيارية: إنشاء فروع gitflow القياسية، موضوعات رسائل git commit، تكوين أوامر git المخصصة\n\n## الميزات الرئيسية\n\n- `anl type`\n  - 🚀 تحليل مستندات Swagger JSON تلقائيًا\n  - 📦 توليد ملفات تعريف أنواع TypeScript\n  - 🔄 توليد دوال طلبات API آمنة من حيث الأنواع\n  - 🎯 دعم معاملات المسار ومعاملات الاستعلام وجسم الطلب\n  - 📝 توليد تعريفات أنواع التعداد تلقائيًا\n  - 🎨 دعم تنسيق الكود\n  - ⚡️ دعم تحميل الملفات\n  - 🛠 خيارات توليد كود قابلة للتكوين\n  - 🌐 دعم تكوين خوادم Swagger متعددة\n  - 🔧 دعم طرق HTTP مثل OPTIONS و HEAD و SEARCH\n\n- `anl lint`\n  - 🔍 تكوين أدوات lint المختلفة بنقرة واحدة\n  - 🎨 أتمتة تكوين ESLint\n  - 🎯 تكوين تنسيق Prettier\n  - 🔄 معيار التزام CommitLint\n  - 📦 تكوين محرر VSCode\n\n- `anl git`\n  - 🔍 تثبيت اختياري لوظائف متعددة\n  - 🎨 إنشاء فروع git flow القياسية\n  - 🎯 تعيين موضوع تلقائي يتوافق مع معيار CommitLint\n  - 🔄 توفير تكوين أوامر git المخصصة ونقطة الدخول\n  - 📦 توليد تلقائي بدون تكوين\n\n---\n\n# Descripción General de Funciones\n\n\u003e an-cli es una herramienta de línea de comandos para frontend que incluye los siguientes comandos:\n\u003e\n\u003e - Comando `anl type`: Herramienta de línea de comandos que genera automáticamente definiciones de tipos TypeScript y funciones de solicitud API basadas en Swagger JSON.\n\u003e - Comando `anl lint`: Genera configuraciones de eslint, stylelint, prettier, commitLint y VSCode para proyectos React o Vue.\n\u003e - Comando `anl git`: Genera configuración local de git con funciones opcionales: creación de ramas estándar gitflow, temas de mensajes git commit y configuración de comandos personalizados de git.\n\n## Características\n\n- `anl type`\n  - 🚀 Análisis automático de documentos Swagger JSON\n  - 📦 Generación de archivos de definición de tipos TypeScript\n  - 🔄 Generación de funciones de solicitud API con seguridad de tipos\n  - 🎯 Soporte para parámetros de ruta, parámetros de consulta y cuerpo de solicitud\n  - 📝 Generación automática de definiciones de tipos enum\n  - 🎨 Soporte para formateo de código\n  - ⚡️ Soporte para carga de archivos\n  - 🛠 Opciones de generación de código configurables\n  - 🌐 Soporte para configuración de múltiples servidores Swagger\n  - 🔧 Soporte para métodos HTTP como OPTIONS, HEAD, SEARCH\n\n- `anl lint`\n  - 🔍 Configuración de varias herramientas lint con un solo clic\n  - 🎨 Automatización de configuración ESLint\n  - 🎯 Configuración de formateo Prettier\n  - 🔄 Especificaciones de commits CommitLint\n  - 📦 Configuración del editor VSCode\n\n- `anl git`\n  - 🔍 Instalación opcional de múltiples funciones\n  - 🎨 Creación de ramas estándar git flow\n  - 🎯 Configuración automática de temas que cumplen con las especificaciones CommitLint\n  - 🔄 Proporciona configuración de comandos personalizados de git y punto de entrada\n  - 📦 Generación automatizada con 0 configuración\n\n---\n\n# Aperçu des fonctionnalités\n\n\u003e an-cli est un outil de ligne de commande frontend qui inclut les commandes suivantes :\n\u003e\n\u003e - Commande `anl type` : Un outil de ligne de commande qui génère automatiquement des définitions de types TypeScript et des fonctions de requête API basées sur Swagger JSON.\n\u003e - Commande `anl lint` : Génère les configurations eslint, stylelint, prettier, commitLint et VSCode pour les projets React ou Vue\n\u003e - Commande `anl git` : Génère la configuration locale Git avec des fonctionnalités optionnelles : création de branches selon le standard gitflow, thèmes de messages git commit, configuration de commandes git personnalisées\n\n## Caractéristiques\n\n- `anl type`\n  - 🚀 Analyse automatique des documents Swagger JSON\n  - 📦 Génération de fichiers de définition de types TypeScript\n  - 🔄 Génération de fonctions de requête API type-safe\n  - 🎯 Support des paramètres de chemin, de requête et de corps\n  - 📝 Génération automatique de définitions de types enum\n  - 🎨 Support du formatage de code\n  - ⚡️ Support du téléchargement de fichiers\n  - 🛠 Options de génération de code configurables\n  - 🌐 Support de la configuration de plusieurs serveurs Swagger\n  - 🔧 Support des méthodes HTTP OPTIONS, HEAD, SEARCH, etc.\n\n- `anl lint`\n  - 🔍 Configuration en un clic de divers outils lint\n  - 🎨 Configuration ESLint automatisée\n  - 🎯 Configuration de formatage Prettier\n  - 🔄 Normes de commit CommitLint\n  - 📦 Configuration de l'éditeur VSCode\n\n- `anl git`\n  - 🔍 Installation optionnelle de plusieurs fonctionnalités\n  - 🎨 Création de branches selon le standard git flow\n  - 🎯 Configuration automatique de thèmes conformes aux normes CommitLint\n  - 🔄 Fournit la configuration et le point d'entrée pour les commandes git personnalisées\n  - 📦 Génération automatisée avec configuration zéro\n\n---\n\n# 機能概要\n\n\u003e an-cli はフロントエンド開発用コマンドラインツールで、以下のコマンドを含みます：\n\u003e\n\u003e - `anl type` コマンド：Swagger JSON に基づいて TypeScript 型定義と API リクエスト関数を自動生成するコマンドラインツール。\n\u003e - `anl lint` コマンド：React または Vue プロジェクト用の eslint、stylelint、prettier、commitLint、VSCode 関連設定を生成\n\u003e - `anl git` コマンド：Git ローカル設定を生成し、オプション機能として gitflow 標準ブランチ作成、git commit メッセージテーマ、git カスタムコマンド設定を提供\n\n## 機能特徴\n\n- `anl type`\n  - 🚀 Swagger JSON ドキュメントの自動解析\n  - 📦 TypeScript 型定義ファイルの生成\n  - 🔄 型安全な API リクエスト関数の生成\n  - 🎯 パスパラメータ、クエリパラメータ、リクエストボディのサポート\n  - 📝 列挙型定義の自動生成\n  - 🎨 コードフォーマットのサポート\n  - ⚡️ ファイルアップロードのサポート\n  - 🛠 カスタマイズ可能なコード生成オプション\n  - 🌐 複数の Swagger サーバー設定のサポート\n  - 🔧 OPTIONS、HEAD、SEARCH などの HTTP メソッドのサポート\n\n- `anl lint`\n  - 🔍 各種 lint ツールのワンクリック設定\n  - 🎨 ESLint 設定の自動化\n  - 🎯 Prettier フォーマット設定\n  - 🔄 CommitLint コミット規約\n  - 📦 VSCode エディタ設定\n\n- `anl git`\n  - 🔍 複数の機能を選択してインストール\n  - 🎨 標準的な git flow ブランチ作成\n  - 🎯 CommitLint 規約に準拠したテーマの自動設定\n  - 🔄 git カスタムコマンド設定とエントリーポイントの提供\n  - 📦 ゼロ設定の自動生成\n\n---\n\n# Обзор функций\n\n\u003e an-cli — это CLI-инструмент для фронтенда, включающий следующие команды:\n\u003e\n\u003e - Команда `anl type`: CLI-инструмент для автоматической генерации определений типов TypeScript и функций API-запросов на основе Swagger JSON.\n\u003e - Команда `anl lint`: Генерирует конфигурации eslint, stylelint, prettier, commitLint, VSCode для проектов react или vue\n\u003e - Команда `anl git`: Генерирует локальную конфигурацию git с опциональными функциями: создание стандартных веток gitflow, темы сообщений git commit, конфигурация пользовательских команд git\n\n## Особенности функций\n\n- `anl type`\n  - 🚀 Автоматически парсит Swagger JSON документы\n  - 📦 Генерирует файлы определений типов TypeScript\n  - 🔄 Генерирует типобезопасные функции API-запросов\n  - 🎯 Поддерживает параметры пути, запроса и тела запроса\n  - 📝 Автоматически генерирует определения типов enum\n  - 🎨 Поддерживает форматирование кода\n  - ⚡️ Поддерживает загрузку файлов\n  - 🛠 Настраиваемые опции генерации кода\n  - 🌐 Поддерживает конфигурации нескольких Swagger серверов\n  - 🔧 Поддерживает HTTP методы OPTIONS, HEAD, SEARCH и другие\n\n- `anl lint`\n  - 🔍 Настройка различных инструментов линтинга в один клик\n  - 🎨 Автоматизация конфигурации ESLint\n  - 🎯 Конфигурация форматирования Prettier\n  - 🔄 Стандарты коммитов CommitLint\n  - 📦 Конфигурация редактора VSCode\n\n- `anl git`\n  - 🔍 Множественные опциональные функции для установки\n  - 🎨 Создание стандартных веток git flow\n  - 🎯 Автоматическая настройка тем, соответствующих стандартам CommitLint\n  - 🔄 Предоставляет конфигурацию пользовательских команд git и точки входа\n  - 📦 Автоматическая генерация с нулевой конфигурацией\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbianliuzhu%2Fan-cli","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbianliuzhu%2Fan-cli","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbianliuzhu%2Fan-cli/lists"}