dotfiles

package
v0.3.3 Latest Latest
Warning

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

Go to latest
Published: Oct 3, 2023 License: Apache-2.0, Apache-2.0 Imports: 1 Imported by: 0

Documentation

Overview

Package dotfiles contains implementations for various tools and preferences which can be configured with the tool. It includes installing and updating packages as well as configurations.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Commander

type Commander func(string, ...string) ([]byte, error)

Commander is the interface to mock the exec.Command.

type MockCommander added in v0.3.3

type MockCommander struct {
	mock.Mock
}

MockCommander allows to test packages individually without creating anything real.

func (*MockCommander) OnOutput added in v0.3.3

func (c *MockCommander) OnOutput(command string, arguments []string) *OutputCall

OnOutput is a helper function to specify epxectations on the mock.

func (*MockCommander) Output added in v0.3.3

func (c *MockCommander) Output(command string, arguments ...string) ([]byte, error)

Output is the mock that gets called when running some command

type OutputCall added in v0.3.3

type OutputCall struct {
	*mock.Call
}

OutputCall is the type to specify the mocked output

func (*OutputCall) Return added in v0.3.3

func (o *OutputCall) Return(output []byte, err error)

Return is a helper function to specify the mocked return values

Directories

Path Synopsis
Package cmd includes the runtime setup and configuration so that the dotfiles package can be used from the command line
Package cmd includes the runtime setup and configuration so that the dotfiles package can be used from the command line
plugins
appstore
Package appstore is the plugin to interface with the apple appstore and install applications on it.
Package appstore is the plugin to interface with the apple appstore and install applications on it.
brewbottles
Package brewbottles is the plugin to interface with brew to install bottles and casks
Package brewbottles is the plugin to interface with brew to install bottles and casks
brewtaps
Package brewtaps is the plugin to interface with brew to add custom taps.
Package brewtaps is the plugin to interface with brew to add custom taps.
golang
Package golang is the plugin to install go tools.
Package golang is the plugin to install go tools.
julia
Package julia allows adding custom julia packages.
Package julia allows adding custom julia packages.
npm
Package npm to install npm packages globally
Package npm to install npm packages globally
python
Package python to install python packages globally
Package python to install python packages globally
symlinks
Package symlinks allows managing symlinks.
Package symlinks allows managing symlinks.
systemprefs
Package systemprefs allows managing system preferences
Package systemprefs allows managing system preferences
vscode
Package vscode allows managing vscode extensions
Package vscode allows managing vscode extensions

Jump to

Keyboard shortcuts

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