agencenous/todo 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

agencenous/todo

最新稳定版本:1.1.1

Composer 安装命令:

composer create-project agencenous/todo

包简介

CLI utility to check TODOs comments in projects

README 文档

README

CLI utility to check TODOs comments in projects

Installation

composer require --dev agencenous/todo

Usage

vendor/bin/todo

By default, the command will search for TODO: comments in the current directory and its subdirectories in files with format: php, js, css, scss, jsx.

Some directories are excluded by default: vendor, node_modules, cache, .git.

You can override these settings by passing arguments to the command:

vendor/bin/todo path/to/directory --formats=php,js,css,scss,jsx --exclude=vendor,node_modules,cache,.git

For a more convenient use, you can also create a configuration file .todo.json at the root of your project:

{
    "formats": ["php", "js", "css", "scss", "jsx"],
    "exclude": ["vendor", "node_modules", "cache", ".git"]
}

Example

vendor/bin/todo

output (colorized):

./src/Controller/ApiController.php
- Line 422: "Apply pagination in query instead of post-processing"
./src/Front/components/DateView/index.js
- Line 7: "add format parameter to format the date"
./src/Helper/Apps/GoogleHelper.php
- Line 327: "Implete update event"
- Line 374: "Implete delete event"

 Found 4 TODOs 

If TODOs are found, the command will exit with status code 1, otherwise it will exit with status code 0.

统计信息

  • 总下载量: 2.59k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 2
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: GPL-3.0
  • 更新时间: 2024-09-16

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固