4 releases

0.2.0 Aug 17, 2019
0.1.2 Aug 2, 2019
0.1.1 Aug 2, 2019
0.1.0 Aug 2, 2019

#676 in Operating systems

MIT license

47KB
1K SLoC

dotman

crates.io

dotman is a tool for managing your dotfiles.

You can see an example of dotfiles managed using dotman here.

Installation

From source

You can use cargo to build and install with the following command:

cargo install dotman

Usage

Command-line options

USAGE:
    dot [FLAGS] [OPTIONS] <SUBCOMMAND>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information
    -v, --verbose    Enables verbose output.

OPTIONS:
        --dotfiles-path <dotfiles-path>    The folder in which to search for dotfiles. The default is ~/.dotfiles.
    -e, --exclude <excludes>...            Paths (relative to the dotfiles folder) of items to be excluded. This is in
                                           addition to any excludes defined in your dotrc. Globs are accepted - just
                                           make sure to enclose them in single quotes to avoid your shell trying to
                                           expand them.
        --hostname <hostname>              The hostname to use. The default is the system hostname.
        --platform <platform>              The platform to use. The default is the actual platform. Valid values are
                                           macos, windows, linux, and wsl.
    -t, --tag <tags>...                    Tags to enable. This is in addition to any tags enabled in your dotrc.

SUBCOMMANDS:
    help    Prints this message or the help of the given subcommand(s)
    link    Links all active dotfiles
    ls      Lists the active dotfiles

Dependencies

~9–19MB
~228K SLoC