Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/JordanAdams/whattodo
Scrapes and lists todo, fixme, etc. comments from files.
https://github.com/JordanAdams/whattodo
Last synced: 4 months ago
JSON representation
Scrapes and lists todo, fixme, etc. comments from files.
- Host: GitHub
- URL: https://github.com/JordanAdams/whattodo
- Owner: JordanAdams
- License: isc
- Created: 2016-01-04T22:39:41.000Z (about 9 years ago)
- Default Branch: master
- Last Pushed: 2016-01-25T09:15:24.000Z (about 9 years ago)
- Last Synced: 2024-05-16T14:03:28.577Z (9 months ago)
- Language: JavaScript
- Size: 18.6 KB
- Stars: 4
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.md
Awesome Lists containing this project
README
WhatTodo
========[](https://travis-ci.org/JordanAdams/whattodo)
[](https://david-dm.org/jordanadams/whattodo)Lists todo, fixme, etc. comments from files.
## Installation
npm install -g whattodo
## Usage
Call `whattodo` from your project directory
$ whattodo
Enjoy your list of things
```
app/myfile.js
19: @fixme fix something
100: @todo do the thingapp/models/user.js
80: @todo reduce lines of code here
```Alternatively, you can define directories/files to search
$ whattodo myfile.js src
## Gotchas
#### Comment Formats
##### Double Slash
// @todo do something##### Hash
# @todo do something##### Double Hyphen
-- @todo do something##### Slash Star Block
```
/**
* @todo do something
*/
```### Tag Formats
- todo
- @todo
- todo:
- @todo:### Ignored Directories
- node_modules
- .git
- bower_components
- vendor## License
Copyright (c) 2016, Jordan Adams
Permission to use, copy, modify, and/or distribute this software for any purpose with or without fee is hereby granted, provided that the above copyright notice and this permission notice appear in all copies.
THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.