Skip to content
quarry Artifact [6495a32be5]
Login

Artifact [6495a32be5]

Artifact 6495a32be5480de962f0ecba017e3cffaf2aff6dde4e2a5971614f00462f8bab:


// quarry is a multi-repository forge for zit. See docs/rfcs/.
package main

import (
	"fmt"
	"os"
)

// version is stamped at build time; every page footer and the API report it
// (0001 Principle 1).
var version = "0.0.0-dev"

func main() {
	if len(os.Args) > 1 && os.Args[1] == "version" {
		fmt.Println("quarry", version)
		return
	}
	fmt.Fprintln(os.Stderr, "usage: quarry version   (serve arrives with phase 1)")
	os.Exit(2)
}