Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Config ¶
type Config struct { FS afero.Fs WorkingDir string RootDir string ManifestName string BinDirName string Verbose bool Log *log.Logger }
Config contains configurations to manage development tools.
func (*Config) ManifestPath ¶
func (*Config) RequireManifest ¶ added in v0.4.0
RequireManifest returns an error if the manifest file does not exist.
type Manifest ¶
type Manifest struct {
// contains filtered or unexported fields
}
Manifest contains tool list
func NewManifest ¶
NewManifest creates a new Manifest instance.
func (*Manifest) ManagerType ¶ added in v0.5.0
type Repository ¶
type Repository interface { List(ctx context.Context) ([]Tool, error) Add(ctx context.Context, pkgs ...string) error Build(ctx context.Context, t Tool) (string, error) BuildAll(ctx context.Context) error Run(ctx context.Context, name string, args ...string) error }
Repository is an interface for managing and operating tools
func NewRepository ¶
func NewRepository(executor manager.Executor, manager manager.Interface, managerType manager.Type, cfg *Config) Repository
NewRepository creates a new Repository instance.
Source Files
¶
Click to show internal directories.
Click to hide internal directories.