Metadata-Version: 2.4
Name: liasdfiosql
Version: 0.2.0
Summary: Sandboxed file CLI with fixed webhook curl and safe helpers (ls/cat/find/grep/sleep).
Author: liasdfio
License: MIT License
        
        Copyright (c) 2025 Your Name
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
        
Keywords: cli,sandbox,webhook,filesystem
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: MIT License
Classifier: Operating System :: OS Independent
Classifier: Environment :: Console
Classifier: Topic :: Utilities
Requires-Python: >=3.9
Description-Content-Type: text/markdown
License-File: LICENSE
Provides-Extra: test
Requires-Dist: pytest; extra == "test"
Dynamic: license-file

# liasdfiosql

샌드박스 디렉터리에서 안전하게 파일을 둘러보고, 고정된 웹훅으로 결과를 전송할 수 있는 경량 CLI입니다.

- 실행: `liasdfio ...` 또는 `python -m liasdfiosql ...`
- 기본 루트: `./workspace` (존재하지 않으면 생성)

## 설치
```bash
pip install liasdfiosql
```

## 사용법
```bash
liasdfio --help
liasdfio ls                     # 루트 목록
liasdfio cat path/to/file.txt   # 파일 출력
liasdfio find --name "*.py"     # 이름 패턴으로 찾기
liasdfio grep "TODO" --glob "*.py" -i
liasdfio sleep 2                # 최대 300초 대기
# 고정된 웹훅으로 요청 보내기 (응답 최대 1MB 출력)
liasdfio curl
# 다른 명령어 결과를 쿼리스트링(result=...)으로 전송
liasdfio curl --query-cmd ls
liasdfio curl --query-cmd grep TODO --glob "*.py"
```

## 동작 제한
- 루트 밖으로 나가는 경로는 거부
- 읽기/응답은 1MB 초과 시 차단
- `curl`은 http/https만 허용, URL은 고정됨
- `sleep`은 300초 이내만 허용

## 개발
```bash
python -m venv .venv
.venv\Scripts\activate
pip install -e ".[test]"
pytest
```
