erfanium / erfanium/h8-cli

FEATURE: h8 set command — toggle container entrypoint

Open
#10 1 comment 0 reactions 0 assignees View on GitHub
ai-agent enhancement P0-critical
Dominant language
TypeScript
Stars
0
Forks
1
PR merge metrics
No merged PRs in 30d

Description

## Problem

No CLI command to change the container entrypoint. Needed for:
- Debug mode: `h8 set command myapp "sleep 3600"` to keep container alive for exec
- Restore: `h8 set command myapp --reset` to go back to Docker entrypoint

## Workaround

Raw API call:
```bash
curl -X PUT .../apps/xxx/ -d '{"command":"sleep 3600"}'
```

But this requires also including subdomain, SSL, disk, and envs to avoid wiping them (see #8).

## Proposal

```bash
h8 set command myapp "sleep 3600" # override entrypoint
h8 set command myapp --reset # back to Docker default
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.