summaryrefslogtreecommitdiff
path: root/internal/app/command.go
blob: 5c32ba2f716bf2a9a1c56a30bd850e15a7f374e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
package app

import (
	"github.com/urfave/cli/v3"
)

const (
	AppName  = "rafta"
	AppUsage = "Really, Another Freaking Todo App?!"
)

var version = "COMPILED"

func Command() *cli.Command {
	return &cli.Command{
		Name:    AppName,
		Usage:   AppUsage,
		Authors: []any{"Benjamin Chausse <benjamin@chausse.xyz>"},
		Version: version,
		Flags:   flags(),
		Action:  action,
	}
}