Giter VIP home page Giter VIP logo

example-go-cli's Introduction

example-go-cli

An example go CLI to demo and learn new Go tooling!

Convert to a new project

  • copy example-go-cli
  • erase the git history
  • commit
  • replace all references to it with the new name
  • update README
  • Create repo on GitHub and push this to it
  • update go.bbkane.com
  • if a CLI:
    • go install go.bbkane.com/cli@latest to test
    • add KEY_GITHUB_GORELEASER_TO_HOMEBREW_TAP to secrets
    • Push a tag to build
    • brew install bbkane/tap/cli
  • Add feature
  • update demo.gif

Use

./demo.gif

example-go-cli hello

Install

scoop bucket add bbkane https://github.com/bbkane/scoop-bucket
scoop install bbkane/example-go-cli
  • Download Mac/Linux/Windows executable: GitHub releases
  • Go: go install go.bbkane.com/example-go-cli@latest
  • Build with goreleaser after cloning: goreleaser --snapshot --skip-publish --clean

Notes

See Go Developer Tooling for notes on development tooling.

example-go-cli's People

Contributors

bbkane avatar dependabot[bot] avatar

Watchers

 avatar  avatar

example-go-cli's Issues

Add CONTRIBUTING.md

See warg, but make sure to include goreleaser, golangci-lint, vhs, lefthook.

git-xargs-tasks: Make the changelog useful in my releases

Let's get the changelog feature working better as well

TODO: fixing the changelog will have to wait, I'm taking a small detour to fix envelope...

Once envelope is fixed and I get my envvars back, I need to:

  • fix it so goreleaser either doesn't do release notes or points to my changelog as a link (see --releas-notes)
  • apploy this to example-go-cli
  • release a new example-go-cli version to test
  • fix up all the others

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.