Skip to content

feat(templates): full id + paste-ready integration code in get - #92

Merged
robertohluna merged 1 commit into
mainfrom
feat/template-integration-snippets-20260829
Aug 29, 2026
Merged

feat(templates): full id + paste-ready integration code in get#92
robertohluna merged 1 commit into
mainfrom
feat/template-integration-snippets-20260829

Conversation

@robertohluna

Copy link
Copy Markdown
Contributor

Why

templates list shows a shortened id (readable table), so a customer couldn't copy the real identifier from it. And there was no "how do I use this" code anywhere in the CLI.

What

  • templates get <id> now prints the slug and a "Use this template" block: paste-ready create() calls for Python SDK, TypeScript SDK, and CLI using this template's id. Not-ready templates are flagged honestly.
  • templates list ends with a pointer to templates get <id> for the full id + integration code.

Pairs with the frontend change (MiosaOS template detail "Use this template" card).

`templates list` shows a shortened id to keep the table readable, so a
customer could not copy the real identifier from it. Now:

- `templates get <id>` prints the template's slug and a "Use this template"
  block with paste-ready create() calls for the Python SDK, TypeScript SDK,
  and CLI, using this template's id. If the template has no usable image
  yet, it says so instead of implying create() will boot it today.
- `templates list` ends with a pointer to `templates get <id>` for the full
  id and the integration code.

So a customer can find and copy everything they need to wire a template
into their app straight from the CLI.
@robertohluna
robertohluna merged commit 2c193da into main Aug 29, 2026
2 checks passed
@robertohluna
robertohluna deleted the feat/template-integration-snippets-20260829 branch August 29, 2026 21:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant