从一个目录到另一个目录的符号链接文件,类似于extrase和stow。
emanate的Python项目详细描述
发出
将文件从一个目录符号链接到另一个目录。
安装
$ pip3 install emanate
或者找到latest release
然后获取emanate-<version>.pyz
文件。这应该可以作为
独立可执行文件。如果没有,请尝试python3 emanate-<version>.pyz
。
发出版本号遵循semantic versioning约定。
compatible releases的PEP 440版本规范,如~= 6.0
,
是选择适当版本的推荐方法。
用法
~$ cat ~/.bashrc
cat: /home/pup/.bashrc: No such file or directory
~$ pip3 install emanate
~$ cd ~/dotfiles
~/dotfiles$ ls -al
drwxr-xr-x. 9 pup pup 4096 Jun 3 12:06 ./
drwx------. 74 pup pup 4096 Jun 3 12:06 ../
drwxr-xr-x. 2 pup pup 4096 Jun 3 11:59 bin/
drwxr-xr-x. 6 pup pup 4096 Jun 3 11:59 .config/
drwxr-xr-x. 8 pup pup 4096 Jun 3 12:10 .git/
-rw-r--r--. 1 pup pup 486 Jun 3 11:59 .bash_aliases
-rw-r--r--. 1 pup pup 78 Jun 3 11:59 .bash_env
-rw-r--r--. 1 pup pup 1987 Jun 3 11:59 .bashrc
-rw-r--r--. 1 pup pup 163 Jun 3 12:06 README.md
~/dotfiles$ cat .bashrc
# TODO: Write .bashrc.
~/dotfiles$ echo '{"ignore": ["README.md"]}' > emanate.json
~/dotfiles$ emanate
~/dotfiles$ cat ~/.bashrc
# TODO: Write .bashrc.
贡献
github上的https://github.com/duckinator/emanate欢迎错误报告和请求拉取。这个项目旨在成为一个安全、受欢迎的协作空间,而且贡献者应该遵守Contributor Covenant行为准则。
许可证
gem是根据MIT License的条款作为开放源码提供的。
行为准则
在发散项目的代码库、问题跟踪程序、聊天室和邮件列表中进行交互的每个人都应该遵循code of conduct。