[add] 実行中でないジョブのログを消す clean --logs を追加
clean --logs [NAME ...] で,ログの置き場の直下にある,リンクでない通常のファイルのログだけを消す.
名前を指定した場合は,1 つでも「無い」「実行中」「リンク等」があれば何も消さない.
1 回の指定で消すのは 1 台のサーバのログだけ.
名前を省いた場合は,実行中のログを残し,停止中のログを消す.
実行中かの確認は,消すのと同じサーバのスクリプトの中で行う.セッションの一覧の結果に関わらず,名前を直接尋ねる確認を必ず通す.
一覧を取れず,実行中でないと確かに分からないときは消さない.
サーバ側の終了コード 98 を追加.実サーバでは未確認.

Co-Authored-By: Claude Fable 5.2 <noreply@anthropic.com>
1 parent 8450a01 commit 4f5fb7949492bcb3ba37476497b00af0548ce0b9
@rintoHasegawa rintoHasegawa authored 18 minutes ago
Showing 13 changed files
View
CLAUDE.md
View
docs/02_ENV/ENV_04_開発コマンド.md
View
docs/03_PLAN/PLAN_02_開発ステップ.md
View
docs/04_SPEC/SPEC_03_リモート実行仕様.md
View
docs/PROGRESS.md
View
src/labremote/cleanup.py
View
src/labremote/cli.py
View
src/labremote/commands.py
View
src/labremote/report.py
View
tests/test_cleanup.py
View
tests/test_cli.py
View
tests/test_commands.py
Too large (Show diff)
View
tests/test_report.py