-
-
Notifications
You must be signed in to change notification settings - Fork 98
Expand file tree
/
Copy pathcmd.go
More file actions
21 lines (18 loc) · 807 Bytes
/
cmd.go
File metadata and controls
21 lines (18 loc) · 807 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
// Copyright (c) 2023, Cogent Core. All rights reserved.
// Use of this source code is governed by a BSD-style
// license that can be found in the LICENSE file.
// Command core provides command line tools for developing apps
// and libraries using the Cogent Core framework.
package main
import (
"cogentcore.org/core/cli"
"cogentcore.org/core/cmd"
"cogentcore.org/core/cmd/config"
"cogentcore.org/core/cmd/generate"
)
func main() {
opts := cli.DefaultOptions("Cogent Core", "Command line tools for developing apps and libraries using the Cogent Core framework.")
opts.DefaultFiles = []string{"core.toml"}
opts.SearchUp = true
cli.Run(opts, &config.Config{}, cmd.Setup, cmd.Build, cmd.Run, cmd.Pack, cmd.Install, generate.Generate, cmd.Changed, cmd.Pull, cmd.Log, cmd.Release, cmd.NextRelease)
}