httk.core.identity_cli

The core-owned httk init and httk identity commands.

These configure the per-user operator identities that live in identity.json: httk init establishes the first named default identity, and httk identity manages that same store. Future per-user initialization will also live under httk init. Both are thin command-line wrappers over httk.core.identity.

Functions

init_command(argv, context)

Set up httk for this user by establishing the default operator identity.

identity_command(argv, context)

Manage named operator identities.

Module Contents

httk.core.identity_cli.init_command(argv, context)

Set up httk for this user by establishing the default operator identity.

This getting-started command is idempotent: once a default identity exists, it reports that setup without prompting or changing the identity store. Future per-user initialization will also live here.

Parameters:
Returns:

Command exit status.

Return type:

int

httk.core.identity_cli.identity_command(argv, context)

Manage named operator identities.

Parameters:
Returns:

Command exit status.

Return type:

int