jakeschurch / badm Goto Github PK
View Code? Open in Web Editor NEWBADM is "But Another Dotfile Manager." Mange your configuration files through an easy-to-use and fast CLI application.
License: MIT License
BADM is "But Another Dotfile Manager." Mange your configuration files through an easy-to-use and fast CLI application.
License: MIT License
Immediately after a fresh install, running badm
on its own gives
thread 'main' panicked at 'internal error: entered unreachable code'
Probably ought to fall back to help/usage if there's no command to run.
Hey there ๐
I found myself looking for a glorified symlink management tool (for dotfiles of course) a few weeks ago and came across your project.
I thought I would be able to add support for some behaviors I thought were missing from your implementation, but it turns out I didn't look close enough at how badm
actually works to begin with. The baseline behavior actually didn't match up with how I manage my own dotfiles (using shitty 10+ year old bash scripts). So what I thought would be a few small changes turned more or less into a rewrite:
(after a certain point I just went ahead and renamed my fork since the baseline behavior is totally different now)
I thought you might be interested in a few bits though:
Config
type now contains a vec of Dotfiles
(thus supporting multiple dotfiles directories as well as multiple symlink directories).PathBuf
to represent different types of directory and rely on initialization logic to more easily reason about paths in different places throughout the code
DotfilesDir
to represent dotfiles directoriesSymlinkDir
to represent symlink directoriesDotfilesPath
to represent relative dotfile paths
Anyway, thanks for the inspiration!
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.