GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Pandademic/raspberry: the tasty cli framework for go

BranchesTags
Open more actions menu

Latest commit

 

History

8 Commits
8 Commits

Folders and files

NameName
Last commit message
Last commit date
LICENSE
LICENSE
 
 
README.md
README.md
 
 
go.mod
go.mod
 
 
main.go
main.go
 
 

Repository files navigation

raspberry

tasty cli framework for go

Features


  • simple
  • fast
  • small

Example Program


This program can spit out a variety of greeetings.

package main

import (
  berry "github.com/pandademic/raspberry"
  "fmt"
)
func hiCmd(){
  fmt.Println("hi")
}
func helloCmd(){
  fmt.Println("hello")
}
func main(){
  cli := berry.Cli{AcceptedCommands:[]string{"-v","version","-h","help","hi","hello"},HelpMsg:"Available commands:\n-h\nhelp\n-v\nversion\nhi\nhello",Version:0.1}
  cli.Setup()
  cli.SetHandler("hi",hiCmd)
  cli.SetHandler("hello",helloCmd)
}

Documentation


Check the wiki

Licence


This program is licenced under the MIT licence

About

the tasty cli framework for go

Topics

clicli-frameworkcommand-linecommand-line-interpretercommandlinegogo-cligo-command-linego-frameworkgolanggolang-librarygolang-packagetasty

Resources

Readme
MIT license
Activity

Stars

0 stars

Watchers

1 watching

Forks

0 forks
Report repository

Releases

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.