go-todo-app

command module
v0.0.0-...-3a0536f Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 28, 2023 License: Apache-2.0 Imports: 1 Imported by: 0

README

go-todo-app

A todo cli app, made in Golang.

I have written this repo in order to get rid of endless "todo_something.txt" files and learn some Go.

So the go-todo-app was born, I am making it following the interesting tutorial I found here:
https://spf13.com/presentation/building-an-awesome-cli-app-in-go-oscon/

I am currently at slide 303.

The steps to scaffold a cli tool in go:

  • go get github.com/spf13/cobra
  • go get github.com/spf13/viper
  • cobra init --pkg-name github.com/ltpitt/go-todo-app -a ltpitt
  • go mod init github.com/ltpitt/go-todo-app
  • go build
  • go-todo-app.exe or ./go-todo-app

Documentation

Overview

Copyright © 2021 ltpitt

Licensed under the Apache License, Version 2.0 (the "License"); you may not use this file except in compliance with the License. You may obtain a copy of the License at

http://www.apache.org/licenses/LICENSE-2.0

Unless required by applicable law or agreed to in writing, software distributed under the License is distributed on an "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. See the License for the specific language governing permissions and limitations under the License.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL