fxcli

package
v1.15.18 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Dec 9, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Module = fx.Module("syncer",
	fx.Provide(
		newFxCLI,
	),
	fx.Invoke(func(_ *fxCLI) {}),
)

Module allows invoking CLI style applications from an fx.App

Functions

This section is empty.

Types

type Main

type Main interface {
	// Run is the equivalent of main() in a CLI application.
	Run()
}

Main is the interface that must be implemented by the main CLI application.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL