navigate

command module
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2022 License: MIT Imports: 3 Imported by: 0

README

smoosh

GitHub Workflow Status GitHub release License

Smoosh together files from one or more repos into a target directory. Designed primarily for using git repos to back your dotfiles.

Usage

Smoosh uses a basic config file:

root: /Users/akerl
tmpdir: /Users/akerl/.smoosh/cache
sources:
  - url: https://github.com/akerl/dotfiles
    name: public-dotfiles
    ignore:
      - ^README.md$

Several fields are optional:

  • root will default to the user's homedir
  • tmpdir will default to ~/.smoosh/cache
  • A source's name will default to the last element of the URL, as delimited by forward slashes
  • A source's ignore list is optional

Smoosh ignores .gitignore, .git, and .gitmodules automatically, regardless of what's set in the ignore list.

The config is read by default from ~/.smoosh/config.yml, and can be overriden by adding -c /path/to/your/file.

To update, run smoosh update

Installation

go install github.com/akerl/smoosh@latest

License

smoosh is released under the MIT License. See the bundled LICENSE file for details.

Documentation

The Go Gopher

There is no documentation for this package.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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