Crates.io | cargo-todo |
lib.rs | cargo-todo |
version | 0.2.1 |
source | src |
created_at | 2020-07-10 15:14:24.721723 |
updated_at | 2021-12-04 11:04:18.699345 |
description | Cargo tool to display TODOs |
homepage | |
repository | https://github.com/ProbablyClem/cargo-todo |
max_upload_size | |
id | 263714 |
size | 34,913 |
$ cargo install cargo-todo
you can add parameters to you TODOs
//todo 18-11-2001 5 !clement implement getters
The supported parameters are :
Those parameters can be added in any order as long as they follow the syntax they will be automaticaly added
$cargo todo
src/main.rs line: 331 //todo
Member: clement
Priority: 5
Deadline: 2020-08-14
implement getters
add all your customs regex in the ~/.cargo/todo_config file (will be created at launch) all regex are case-insensitive
$cargo todo -i
src/main.rs line: 331 //todo Member: clement Priority: 5 Deadline: 2020-08-14 implement getters
$cargo todo -v
src/main.rs line: 331 //todo
implement getters
$cargo todo -x //fix
//wil display every todos expect those having the '//fix' keyword
$cargo todo -f //fix
//wil only display todos having the '//fix' keyword
$cargo todo -l 5
///wil display the first 5 todos
$cargo todo -m clement
///wil only display todos having as member clement
$cargo todo -s priority
///wil display todos sorted by their priority
code base
todo!("implement getters");
$ cargo todo --legacy
src/main.rs TODO Line 125 : implement getters
//todo
todo!()
unimplemented!()
fix
cargo todo will no longer use regex but only the default tokens listed above