hive-forge: infer active repo from cwd's git remote, demote HIVE_FORGE_REPO
This commit is contained in:
parent
a588ed42ce
commit
f034ffb9d8
9 changed files with 201 additions and 25 deletions
|
|
@ -8,8 +8,11 @@ consistent error handling, exit codes, and JSON shapes. This is the
|
|||
never `curl` it directly.
|
||||
|
||||
Reads credentials from the environment (`HIVE_FORGE_URL`,
|
||||
`HIVE_FORGE_REPO`, `HYPERHIVE_STATE_DIR`); `-f/--forge <label>`
|
||||
retargets a dashboard-provisioned external forge account instead.
|
||||
`HYPERHIVE_STATE_DIR`); `-f/--forge <label>` retargets a
|
||||
dashboard-provisioned external forge account instead. The active repo
|
||||
resolves `-r/--repo` > the `origin` remote of the cwd's git checkout >
|
||||
`HIVE_FORGE_REPO` (last-resort override, unset by default) > a hard
|
||||
error — see `client::Client::from_env`.
|
||||
|
||||
## When to use it
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue