Skip to content
Snippets Groups Projects
Select Git revision
  • 6dfe350cb5eefde3a99374d14c083d1906717ddd
  • ballinvoher default protected
  • client-http-server-for-token
  • master
  • gitlab-auth-issue
  • windows
  • microsoft
  • message
  • azure_auth
  • prometheus
  • permission-templates
  • no-datastore
  • save-public-keys
  • gitlab-group-level-start
  • v1.1.0
  • v1.0.0
  • v0.1
17 results

seed.sql

Blame
  • misc.go 500 B
    // Package repl implements the main event loop.
    package repl
    
    import (
    	"fmt"
    	"os"
    
    	"git.lyda.ie/kevin/bulletin/dclish"
    )
    
    // ActionQuit handles the `QUIT` command.
    func ActionQuit(_ *dclish.Command) error {
    	// TODO: IIRC, quit should not update unread data.  Check old code to confirm.
    	fmt.Println("QUIT")
    	os.Exit(0)
    	return nil
    }
    
    // ActionExit handles the `EXIT` command.
    func ActionExit(_ *dclish.Command) error {
    	// TODO: update unread data.
    	fmt.Println("EXIT")
    	os.Exit(0)
    	return nil
    }