Created
February 11, 2026 18:28
-
-
Save goddoe/d59d5aae2b24b275eb935cb805551729 to your computer and use it in GitHub Desktop.
make_claude_shell.sh
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| cc() { | |
| if [ -t 0 ]; then | |
| # 인자 입력 | |
| if [ "$#" -eq 0 ]; then | |
| echo "사용법: cc 텍스트 또는 echo 텍스트 | cc" | |
| return 1 | |
| fi | |
| TEXT="$*" | |
| else | |
| # 파이프 입력 | |
| TEXT="$(cat)" | |
| fi | |
| claude --dangerously-skip-permissions -p -c "$TEXT" | |
| } |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment