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

https://github.com/samparsky/go-cli

A sample cli application in Golang using cobra and boltdb.
https://github.com/samparsky/go-cli

Last synced: 6 months ago
JSON representation

A sample cli application in Golang using cobra and boltdb.

Awesome Lists containing this project

README

          

# Golang CLI Task manager

A sample cli application in golang using cobra and boltdb.

Uses Dep for dependency management.

# Build

```bash
$ git clone https://github.com/samparsky/go-cli
$ go install .
```

### Add task

```bash
$ task add Fetch water
$ task add Visit grocery
$ task add Call mama
```

### List task

```bash

$ task list

You have the following tasks
1. Fetch Water
2. Visit grocery
3. Call mama
```

### Do Tasks

```bash
$ task do 1

Marked "1" as completed.
```