How do I run the objects 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 objects, 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. put-objects

Sends put_objects_request and prints put_objects_response, so the shape is the protocol's and the meaning is the service's. It reads bucket, key, content, content_encoding, in that order. The caller must have established a session first.

The command is shaped like this:

objects put-objects <bucket> <key> <content> <content_encoding>

It is addressed at storage.v1.objects.put.

objects put-objects __none__ __none__ __none__ __none__

1.2. get-objects

Sends get_objects_request and prints get_objects_response, so the shape is the protocol's and the meaning is the service's. It reads bucket, key, in that order. The caller must have established a session first.

The command is shaped like this:

objects get-objects <bucket> <key> [--include_content <v>]

It is addressed at storage.v1.objects.get.

objects get-objects __none__ __none__

1.3. delete-objects

Sends delete_objects_request and prints delete_objects_response, so the shape is the protocol's and the meaning is the service's. It reads bucket, key, in that order. The caller must have established a session first.

The command is shaped like this:

objects delete-objects <bucket> <key>

It is addressed at storage.v1.objects.delete.

objects delete-objects __none__ __none__

1.4. list-objects

Sends list_objects_request and prints list_objects_response, so the shape is the protocol's and the meaning is the service's. It reads bucket, prefix, in that order. The caller must have established a session first.

The command is shaped like this:

objects list-objects <bucket> <prefix> [--offset <v>] [--limit <v>]

It is addressed at storage.v1.objects.list.

objects list-objects __none__ __none__

Emacs 29.3 (Org mode 9.6.15)