.. _commands: Command Line Interface ====================== **Base Syntax:** .. code-block:: bash ./off_chain_secure_storage [arguments] **Available Commands:** +----------------+-----------------------------+---------------------------+---------------------------------+ | Command | Arguments | Description | Example | +================+=============================+===========================+=================================+ | ``store`` | `` `` | Store JSON with device ID | ``store FARM001 '{"temp":25}'`` | +----------------+-----------------------------+---------------------------+---------------------------------+ | ``retrieve`` | ```` | Retrieve data by hash | ``retrieve 'a1b2c3d4e5f6...'`` | +----------------+-----------------------------+---------------------------+---------------------------------+ | ``hash`` | ```` | Generate hash only | ``hash '{"sensor":"data"}'`` | +----------------+-----------------------------+---------------------------+---------------------------------+ | ``attest`` | None | Get TA attestation | ``attest`` | +----------------+-----------------------------+---------------------------+---------------------------------+ | ``public-key`` | None | Get public key | ``public-key`` | +----------------+-----------------------------+---------------------------+---------------------------------+