1.0.4 • Published 6 years ago

@0x12b/dotty-cli v1.0.4

Weekly downloads
2
License
MIT
Repository
github
Last release
6 years ago

@0x12b/dotty-cli

Dotty is a tool for managing dotfiles and client rigging on macOS using a simple json config file and homebrew.

Config

Put your config in a file named dotty.config.json, for example in your dotfiles repo.

dotfiles

ParameterUsage
labeldisplayed during installation
sourcethe destination of the symlink
targetthe full path of the symlink

brews / casks

ParameterUsage
namecask or formula to install
customCheckcommand to run to check if its already installed
preparecommand to run before attempting to install
extensionInstallCmdcommand to exec to perform extension installations
extensionsstring array of extensions for the install cmd

Example

{
  "dotfiles": [{
      "label": "example file",
      "source": "example.json",
      "target": "~/example.json"
    }
  ],
  "brews": [
    { "name": "wget"  },
    { "name": "sshfs" }
  ],
  "casks": [
    {
      "name": "spotify",
      "customCheck": "find /Applications/Spotify.app"
    },
    {
      "name": "dropbox",
      "customCheck": "find /Applications/Dropbox.app"
    },
    {
      "name": "slack",
      "customCheck": "find /Applications/Slack.app"
    },
    {
      "name": "osxfuse",
      "prepare": "brew tap homebrew/cask",
      "customCheck": "find /Library/PreferencePanes/OSXFUSE.prefPane"
    }
  ]
}
1.0.4

6 years ago

1.0.3

6 years ago

1.0.2

6 years ago

1.0.1

6 years ago

1.0.0

6 years ago