experimental nak fs

This commit is contained in:
fiatjaf
2025-03-08 10:51:44 -03:00
parent c1248eb37b
commit d6a23bd00c
6 changed files with 256 additions and 14 deletions

View File

@@ -13,7 +13,10 @@ import (
"github.com/urfave/cli/v3"
)
var version string = "debug"
var (
version string = "debug"
isVerbose bool = false
)
var app = &cli.Command{
Name: "nak",
@@ -41,6 +44,7 @@ var app = &cli.Command{
mcpServer,
curl,
dvm,
fsCmd,
},
Version: version,
Flags: []cli.Flag{
@@ -71,6 +75,7 @@ var app = &cli.Command{
v := c.Count("verbose")
if v >= 1 {
logverbose = log
isVerbose = true
}
return nil
},