@0x12b/dotty-cli
tool for managing dotfiles and rigging on macOS
Last updated a year ago by simskij .
MIT · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install @0x12b/dotty-cli 
SYNC missed versions from official npm registry.

@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

Parameter Usage
label displayed during installation
source the destination of the symlink
target the full path of the symlink

brews / casks

Parameter Usage
name cask or formula to install
customCheck command to run to check if its already installed
prepare command to run before attempting to install
extensionInstallCmd command to exec to perform extension installations
extensions string 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"
    }
  ]
}

Current Tags

  • 1.0.4                                ...           latest (a year ago)

2 Versions

  • 1.0.4                                ...           a year ago
  • 1.0.3                                ...           a year ago
Maintainers (1)
Downloads
Today 0
This Week 0
This Month 6
Last Day 0
Last Week 1
Last Month 15
Dependencies (3)
Dev Dependencies (0)
None
Dependents (0)
None

Copyright 2014 - 2016 © taobao.org |