-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathmain.go
More file actions
39 lines (33 loc) · 956 Bytes
/
main.go
File metadata and controls
39 lines (33 loc) · 956 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
// =============================================================================
// Botwallet CLI
// =============================================================================
// Command-line interface for AI agents to manage their wallets.
// Designed for autonomous bots with helpful guidance and clear messaging.
//
// Usage:
// botwallet [command] [flags]
//
// Examples:
// botwallet register --name "Orion's Wallet"
// botwallet balance
// botwallet pay merchant-name 10.00
// =============================================================================
package main
import (
"os"
"github.com/botwallet-co/agent-cli/api"
"github.com/botwallet-co/agent-cli/cmd"
)
// Version information (set at build time via ldflags)
var (
version = "0.1.0-beta.1"
commit = "dev"
date = "unknown"
)
func main() {
cmd.SetVersionInfo(version, commit, date)
api.SetVersion(version)
if err := cmd.Execute(); err != nil {
os.Exit(1)
}
}