crystow

Version, currently master branch1 version
  • master branchlatestJul 3, 2024

github.com/brickfrog/crystow

No description declared in shard.yml.

0 stars
0 dependents
License: MIT

Installation

# Add this to your shard.yml
dependencies:
  crystow:
    github: brickfrog/crystow
    branch: master

master is a branch, not a release, so this tracks it rather than pinning a version.

Then run:

shards install

shard.yml

Crystal
>= 1.12.2
License
MIT
Author
Justin
Target
  • crystow from src/crystow.cr

Dependencies

This version declares no dependencies.

README

CryStow

CryStow (Crystal-like stow) is a tool designed to manage your dotfiles easily, inspired by the simplicity of Crystal.

Installation

Clone the repository and build the project using:

crystal build src/crystow.cr

Usage

Run crystow with the required options:

crystal run src/crystow.cr -- -a ~/.config/i3 -d ~/dotfiles/i3 --simulate --verbose

Options

  • -v, --version: Show the version of CryStow.
  • -s, --simulate: Simulate the operation without making any changes to the files.
  • --verbose: Enable verbose output to see more detailed logs.
  • -f, --force: Force overwrite existing files without asking.
  • -a APP, --app=APP: Specify the application configuration path you want to manage.
  • -d DEST, --dest=DEST: Specify the destination path where the dotfiles should be stored.
  • -h, --help: Display help information.

Example

To simulate the management of i3 config files without actually copying them:

./crystow -a ~/.config/i3 -d ~/dotfiles/i3 --simulate --verbose

This command will show what changes would be made if the command were executed without the --simulate flag.

Contributing

Contributions are welcome! Please fork the repository and submit a pull request with your features or fixes.

License

Distributed under the MIT License. See LICENSE for more information.