Add --url flag to ccc-client and ccc-queue

Overrides CONDUIT_URL env var. Resolved through load_client_config and
threaded into create_conduit_client as base_url parameter.

Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This commit is contained in:
2026-03-07 21:20:59 +00:00
parent 0d1e25019e
commit 62d2480cd4
5 changed files with 32 additions and 23 deletions

View File

@@ -5,8 +5,8 @@ import { create_conduit_client } from '../client/conduit.mjs';
const POLL_INTERVAL = 2000;
const { username, secret } = load_client_config(process.argv);
const client = create_conduit_client(username, secret);
const { username, secret, url } = load_client_config(process.argv);
const client = create_conduit_client(username, secret, url);
const screen = blessed.screen({
smartCSR: true,