How do I run the reset commands from the shell?

Table of Contents

This file documents declared operations at the shell, one section per command. Every command is a subcommand of reset, and every section exports its own script into projects/ores.shell/scripts/library/. Loading a script runs that one command, so a failure names the command it came from.

1. Commands

1.1. reset-tenant

Sends reset_tenant_command and prints reset_tenant_result, so the shape is the protocol's and the meaning is the service's. It reads tenant_code, in that order. The caller must have established a session first. This command destroys the system it runs against. Do not replay it against an environment you need.

Destructive. This command does not read or amend a row; it returns the system to its pre-bootstrap state. The script below is generated for completeness like every other, and must not be replayed against an environment anyone needs.

The command is shaped like this:

reset reset-tenant <tenant_code>

It is addressed at iam.v1.system.reset-tenant.

# DESTRUCTIVE: replaying this command destroys the system it runs against.
reset reset-tenant __none__

1.2. reset-system

Sends reset_system_command and prints reset_system_result, so the shape is the protocol's and the meaning is the service's. The caller must have established a session first. This command destroys the system it runs against. Do not replay it against an environment you need.

Destructive. This command does not read or amend a row; it returns the system to its pre-bootstrap state. The script below is generated for completeness like every other, and must not be replayed against an environment anyone needs.

The command is shaped like this:

reset reset-system

It is addressed at iam.v1.system.reset.

# DESTRUCTIVE: replaying this command destroys the system it runs against.
reset reset-system

Emacs 29.3 (Org mode 9.6.15)