Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/luckey-elijah/todo-cli
just a fun weekend project for todos
https://github.com/luckey-elijah/todo-cli
Last synced: 10 days ago
JSON representation
just a fun weekend project for todos
- Host: GitHub
- URL: https://github.com/luckey-elijah/todo-cli
- Owner: Luckey-Elijah
- Created: 2021-12-04T04:04:42.000Z (about 3 years ago)
- Default Branch: main
- Last Pushed: 2021-12-09T20:41:06.000Z (about 3 years ago)
- Last Synced: 2025-01-27T17:57:59.982Z (16 days ago)
- Language: Dart
- Size: 42 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 5
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
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 managerUsage: 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