난 어떤 CLI 툴들이 자기가 실제로 쓰고있는 설정값(기본값이거나, 환경변수에서 왔거나, 파일에서 왔거나)를 읽는 명령어를 필수적으로 포함했으면 좋겠다. 사실 법제화까지 하고싶다..

2

If you have a fediverse account, you can quote this note from your own instance. Search https://hackers.pub/ap/notes/01992444-6229-7509-b23a-aed615f96d23 on your instance and quote it. (Note that quoting is not supported in Mastodon.)

주로 사용하는 형상관리도구인 퍼포스 CLI에 이런 기능이 있어 삽질을 크게 줄이고 있어요. p4 set 해보면 각각의 설정이 기본값인지 로컬 설정파일인지 서버측 설정인지 의도적으로 설정하지 않은 건지 표시해줍니다.

https://hackers.pub/@bgl/01992444-6229-7509-b23a-aed615f96d23

5