Dotter는 Dotfile 관리자 및 템플릿입니다.
dotfiles는 일반적으로 홈 디렉토리에 거주하고 점으로 시작하는 구성 파일입니다. 종종 시스템의 모든 구성을 백업하는 것이 바람직하므로 많은 사용자가 GIT 저장소에 DotFiles를 저장 한 다음 ln -s 사용하여 대상 위치에 동성애를합니다.
그러나 해당 베어 본 접근에는 몇 가지 문제가 있습니다.
Dotter는 유연한 구성과 자동 템플릿을 제공하거나 대상 위치에 Symlinking을 제공하여 모든 문제를 해결하는 것을 목표로합니다.
Dotter는 brew install dotter 사용하여 Homebrew에서 사용할 수 있습니다
다음 AUR 패키지를 사용할 수 있습니다.
이들 모두는 Orhun에 의해 유지됩니다. 그에게 큰 감사합니다!
Dotter는 Scoop에서 사용할 수 있습니다. scoop install dotter 실행하여 최신 릴리스를 설치하십시오.
최신 릴리스에서 플랫폼의 바이너리를 다운로드 한 다음 $PATH 또는 도트 파일 저장소에 넣으십시오 (그런 다음 ./dotter 로 실행). 또는 Dotter는 Crates.io에 있으므로 Rustup을 설치 한 경우 cargo install dotter 실행하십시오.
자세한 내용은 위키에 확인하십시오. 무엇보다도 Dotter를 설정하고 구성하는 방법과 템플릿 및 배포 작동 방식에 대한 통찰력을 제공합니다.
모든 글로벌 및 로컬 파일 섹션을 구성 했으므로 저장소 내에서 dotter 실행할 수 있습니다.
모든 파일은 대상 위치에 배포됩니다.
Dotter가 지원하는 명령 줄 플래그에 대해서는 dotter -h 확인하십시오.
A dotfile manager and templater written in rust
Usage: dotter [OPTIONS] [COMMAND]
Commands:
deploy Deploy the files to their respective targets. This is the default subcommand
undeploy Delete all deployed files from their target locations. Note that this operates on all files that are currently in cache
init Initialize global.toml with a single package containing all the files in the current directory pointing to a dummy value and a local.toml that selects that package
watch Run continuously, watching the repository for changes and deploying as soon as they happen. Can be ran with `--dry-run`
gen-completions Generate shell completions
help Print this message or the help of the given subcommand(s)
Options:
-g, --global-config <GLOBAL_CONFIG>
Location of the global configuration [default: .dotter/global.toml]
-l, --local-config <LOCAL_CONFIG>
Location of the local configuration [default: .dotter/local.toml]
--cache-file <CACHE_FILE>
Location of cache file [default: .dotter/cache.toml]
--cache-directory <CACHE_DIRECTORY>
Directory to cache into [default: .dotter/cache]
--pre-deploy <PRE_DEPLOY>
Location of optional pre-deploy hook [default: .dotter/pre_deploy.sh]
--post-deploy <POST_DEPLOY>
Location of optional post-deploy hook [default: .dotter/post_deploy.sh]
--pre-undeploy <PRE_UNDEPLOY>
Location of optional pre-undeploy hook [default: .dotter/pre_undeploy.sh]
--post-undeploy <POST_UNDEPLOY>
Location of optional post-undeploy hook [default: .dotter/post_undeploy.sh]
-d, --dry-run
Dry run - don't do anything, only print information. Implies -v at least once
-v, --verbose...
Verbosity level - specify up to 3 times to get more detailed output. Specifying at least once prints the differences between what was before and after Dotter's run
-q, --quiet
Quiet - only print errors
-f, --force
Force - instead of skipping, overwrite target files if their content is unexpected. Overrides --dry-run
-y, --noconfirm
Assume "yes" instead of prompting when removing empty directories
-p, --patch
Take standard input as an additional files/variables patch, added after evaluating `local.toml`. Assumes --noconfirm flag because all of stdin is taken as the patch
--diff-context-lines <DIFF_CONTEXT_LINES>
Amount of lines that are printed before and after a diff hunk [default: 3]
-h, --help
Print help
-V, --version
Print version
풀 요청 또는 문제의 형태에 관계없이 Dotter에 대한 기부금을 환영합니다 (버그 레포트, 기능 요청 또는 기타 유용한 주석)
내가하는 일처럼 계속하도록 격려하고 싶습니까?
PayPal을 통해 소량을 기부 할 수 있습니다.
기부금은 예상되지 않고 크게 감사합니다.