모든 도구의 구성 파일을 찾고 편집하는 도구
하지만 그것을 해결하기 위해 도구를 만들었습니다.
anyconf
https://github.com/inabajunmr/anyconf
행동
권장 시스템 요구 사항
$ go version
go version go1.13.8 darwin/amd64
$ vim --version
VIM - Vi IMproved 8.1 (2018 May 18, compiled Jun 5 2020 21:30:37)
macOS version
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.15.7
BuildVersion: 19H114
설치
go get github.com/inabajunmr/anyconf
용법
anyconf
명령은 다음 예와 같이 지원되는 도구를 보여줍니다.
$ anyconf
? What's next key? [Use arrows to move, enter to select, type to filter]
> fish
screen
git
aws
bash
curl
npm
또한 도구를 입력하고 필터링할 수 있습니다.
$ anyconf
? What's next key? g [Use arrows to move, enter to select, type to filter]
> git
wget
선택 후 구성 파일이 vim에 의해 열립니다. (vim이 기본값이며 anyconf configuration을 통해 변경할 수 있습니다.)
Pull Request를 통한 새로운 도구 지원
매핑 도구 및 구성 파일은 다음 파일에서 관리합니다.
https://github.com/inabajunmr/anyconf/blob/main/static/configs.txt
anyconf ~/.anyconf/configs.txt
aws/config ~/.aws/config
aws/credentials ~/.aws/credentials
bash/bash_profile ~/.bash_profile
bash/bashrc ~/.bashrc
+NEWTOOL ~/.newtool.conf
이렇게 NEWTOOL을 적용하고 싶다면 pull request를 보낼 수 있습니다.
병합 후 anyconf는 NEWTOOL을 지원합니다.
로컬 구성을 통해 새로운 도구 지원
anyconf가 관리하고.anyconf/configs.txt
구성을 통해 도구를 지원할 수 있습니다.
다음 예제를 설정에 넣으면 anyconf에서 NEWTOOL을 사용할 수 있습니다.
NEWTOOL ~/.newtool.conf
구성 파일은 anyconf를 통해 열 수 있습니다.
결론
모든 도구 구성을 찾아 편집하도록 anyconf 만들었습니다.
하지만 아직 제가 사용하는 몇 가지 도구만 지원하기 때문에 다른 도구에 대한 Pull Request를 받으면 기쁠 것 같습니다. 고맙습니다.
Reference
이 문제에 관하여(모든 도구의 구성 파일을 찾고 편집하는 도구), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다
https://dev.to/inabajunmr/the-tool-to-find-and-edit-any-tool-s-config-file-dd9
텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념
(Collection and Share based on the CC Protocol.)
$ go version
go version go1.13.8 darwin/amd64
$ vim --version
VIM - Vi IMproved 8.1 (2018 May 18, compiled Jun 5 2020 21:30:37)
macOS version
$ sw_vers
ProductName: Mac OS X
ProductVersion: 10.15.7
BuildVersion: 19H114
go get github.com/inabajunmr/anyconf
$ anyconf
? What's next key? [Use arrows to move, enter to select, type to filter]
> fish
screen
git
aws
bash
curl
npm
$ anyconf
? What's next key? g [Use arrows to move, enter to select, type to filter]
> git
wget
anyconf ~/.anyconf/configs.txt
aws/config ~/.aws/config
aws/credentials ~/.aws/credentials
bash/bash_profile ~/.bash_profile
bash/bashrc ~/.bashrc
+NEWTOOL ~/.newtool.conf
NEWTOOL ~/.newtool.conf
Reference
이 문제에 관하여(모든 도구의 구성 파일을 찾고 편집하는 도구), 우리는 이곳에서 더 많은 자료를 발견하고 링크를 클릭하여 보았다 https://dev.to/inabajunmr/the-tool-to-find-and-edit-any-tool-s-config-file-dd9텍스트를 자유롭게 공유하거나 복사할 수 있습니다.하지만 이 문서의 URL은 참조 URL로 남겨 두십시오.
우수한 개발자 콘텐츠 발견에 전념 (Collection and Share based on the CC Protocol.)