Skip to content

shares

A share is a page on share.agent-spaces.eu for one artifact or a folder of them, which members of the organization open after signing in. Shares belong to a project (the one in use); agents in a machine make them with space-env share, usually to show their user a visual summary of their work.

A share points at artifact names, not at their content: an artifact uploaded again under the same name shows on the next refresh. Deleting a share leaves the artifacts alone.

space shares list

space shares list

Id, prefix, title, visibility (org, or public when a member made it public on its page), expiry and URL of every share in the project. With -q, only the URLs.

space shares create

space shares create <prefix> [--title <title>] [--ttl <duration>]

Shares one artifact (report.pdf) or a folder: a name followed by / (proto/), whose page shows the folder’s index.html, or a list of its files when it has none. Prints the share’s URL. The share is yours. --title heads the page (plain text, at most 200 characters; default: the prefix); --ttl (e.g. 3d) is how long the share lives, by default 7 days and at most your plan’s retention.

space shares title

space shares title <id> <title>
space shares rename <id> --title <title>

Changes the share’s title and prints its URL, which stays the same: a share already linked somewhere keeps working under its new title. An empty title ("") shows the prefix again. Members can also rename a share on the project’s Shares page in the portal, and agents in a machine with space-env share title.

space shares delete

space shares delete <id> [-y|--yes]

Deletes the share; its page stops working at once. Asks for confirmation on a terminal unless --yes.

Last updated on