Skip to content
/ robe Public

robe — wear your configs. A tiny CLI to save and switch between dotfile setups.

License

Notifications You must be signed in to change notification settings

sawsent/robe

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

38 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Crates.io Crates.io License Build Status Coverage Status

Disclaimer: robe touches your filesystem and is in early development. Use at your own risk

robe

Wear your configs.

robe is a tiny CLI for saving and switching between named configuration files or directories.

Keep versions.
Switch instantly.
Nothing else.


Install

cargo install robe

Quickstart

Register and save:

robe add tmux/work -r .config/tmux

Create another profile:

robe add tmux/minimal

Switch:

robe use tmux/work

Inspect:

robe view tmux/work
robe edit tmux/work

What it does

  • stores named config profiles
  • switches between them quickly
  • prints to stdout or edits with $EDITOR
  • keeps everything as plain files or directories

Docs

Full behavior and spec:
See docs/spec.md


Roadmap

What is planned before v0.1.0 (first stable release)

  • robe status
    • Show the current activated profile for each tool
    • If changed, show the last activated profile for each tool
  • robe status <target>
    • Show the current active profile for a given tool
    • If changed, show the last activated profile for a tool
  • robe use should require -f if the current file is different than the last activated profile.
  • Quality of life improvements:
    • Profiles should be stored with their respective file endings to allow better editing with robe edit <target>
    • Better readability in the dispatch module.
    • --config <file> allow setting a config file
    • better errors (especially io)
  • Coverage:
    • Coverage should be over 90%

License

Apache License 2.0

About

robe — wear your configs. A tiny CLI to save and switch between dotfile setups.

Resources

License

Stars

Watchers

Forks

Packages

 
 
 

Contributors

Languages