32 lines
500 B
Go
32 lines
500 B
Go
package main
|
|
|
|
import (
|
|
"context"
|
|
"fmt"
|
|
"os"
|
|
|
|
"github.com/urfave/cli/v3"
|
|
)
|
|
|
|
func main() {
|
|
app := &cli.Command{
|
|
Name: "stamp",
|
|
Usage: "language-agnostic changesets-style versioning and changelog tool",
|
|
Version: "0.1.0",
|
|
Commands: []*cli.Command{
|
|
addCmd(),
|
|
statusCmd(),
|
|
versionCmd(),
|
|
publishCmd(),
|
|
commentCmd(),
|
|
previewCmd(),
|
|
releasePRCmd(),
|
|
},
|
|
}
|
|
|
|
if err := app.Run(context.Background(), os.Args); err != nil {
|
|
fmt.Fprintln(os.Stderr, err)
|
|
os.Exit(1)
|
|
}
|
|
}
|