Skip to content
edgesync Artifact [5a8e37ea7f]
Login

Artifact [5a8e37ea7f]

Artifact 5a8e37ea7fdbb9f9b4cedb24554e59224c55a8d8daee4986b83bd04564dbb301:


package main

import (
	"github.com/danmestas/libfossil/cli"
)

type CLI struct {
	cli.Globals

	Repo   cli.RepoCmd `cmd:"" help:"Repository operations"`
	Sync   SyncCmd     `cmd:"" help:"Leaf agent sync"`
	Bridge BridgeCmd   `cmd:"" help:"NATS-to-Fossil bridge"`
	Notify NotifyCmd   `cmd:"" help:"Bidirectional notification messaging"`
	Doctor DoctorCmd   `cmd:"" help:"Check development environment health"`
}

type SyncCmd struct {
	Start SyncStartCmd `cmd:"" help:"Start leaf agent daemon"`
	Now   SyncNowCmd   `cmd:"" help:"Trigger immediate sync"`
}

type BridgeCmd struct {
	Serve BridgeServeCmd `cmd:"" help:"Start NATS-to-Fossil bridge"`
}