Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/luckey-elijah/todo-cli

just a fun weekend project for todos
https://github.com/luckey-elijah/todo-cli

Last synced: 1 day ago
JSON representation

just a fun weekend project for todos

Awesome Lists containing this project

README

        

# Simple TODO CLI

[![style: very good analysis][vg_svg]][vg]

A simple command line todo build with Dart.

## Usage

### `--help`

```command
$ dart bin/todo.dart -h
your cli todo manager

Usage: todo [arguments]

Global options:
-h, --help Print this usage information.

Available commands:
add add a todo
complete mark a todo as complete
generate Start a new todo list.
remove remove a todo from your list
show list all your todos
```

### `Usage: todo [arguments]`

```sh
# initialize the list
$ dart bin/todo.dart generate
Created .todo-elijah.

# show items, but it is empty right now
$ dart bin/todo.dart show
No todos to show.

# add todo item
$ dart bin/todo.dart add
todo: My first todo

# list all items
$ dart bin/todo.dart show
- (0) [ ] My first todo

# mark a item as done
$ dart bin/todo.dart complete
- (0) [ ] My first todo
index: 0
- (0) [X] My first todo

# if you have no todos left to complete
$ dart bin/todo.dart complete
- (0) [X] My first todo!
No todos left!
```

[vg_svg]: https://img.shields.io/badge/style-very_good_analysis-B22C89.svg
[vg]: https://pub.dev/packages/very_good_analysis