Repository navigation
cinode-client 0.3.0
Credentials set up once: cinode init saves them to a private credentials
file, which the CLI and the library read when the environment has none.
- Breaking:
Cinode.from_env()is removed; useCinode(), which reads
the environment whenever no credentials are passed. - Credentials file:
Cinode()and the CLI readaccess_idand
access_secretfrom~/.config/cinode/credentials.toml(or
$XDG_CONFIG_HOME/cinode/credentials.toml, or$CINODE_CREDENTIALS_FILE)
when the environment holds no credentials. The environment wins as a whole. cinode initchecks credentials withwhoami()and saves them to the
credentials file, created with mode0600and written atomically. It takes
them from prompts on a terminal, from--access-idand the first line of
stdin otherwise, or from the environment with--from-env.cinode config showreports where the credentials in use come from,
and the credentials file's path, existence and permissions, without a
network call.
Install
uv tool install https://github.com/knowit-solutions-cocreate/cinode-client/releases/download/v0.3.0/cinode_client-0.3.0-py3-none-any.whlSee the README for credentials, the CLI output contract and exit codes.