Skip to content

feat: add 'instanode up' command + INSTANT_TOKEN env support - #1

Merged
mastermanas805 merged 1 commit into
masterfrom
feat/instanode-up
May 11, 2026
Merged

mastermanas805 merged 1 commit into
masterfrom
feat/instanode-up

Conversation

@mastermanas805

Copy link
Copy Markdown
Member

Summary

  • `instanode up` (`cmd/up.go`): one-command provision of the full bundle (db/cache/nosql/queue/storage/webhook); writes a deploy-ready `.env` to stdout. Mirrors the bundle-first product positioning.
  • ReceiveURL field: `/webhook/new` returns `receive_url` not `connection_url`; CLI now parses both shapes.
  • INSTANT_TOKEN env var: takes priority over the config-file token. Lets CI / agents pass a token without running `instanode login`.

Test plan

  • Add command-level unit tests (follow-up)
  • Manual: `instanode up` provisions 6 resources and prints `.env` (verified)

🤖 Generated with Claude Code

- cmd/up.go (new): provisions the full bundle (db/cache/nosql/queue/
  storage/webhook) in one command and prints a deploy-ready .env to
  stdout. Mirrors the bundle-first product positioning.

- cmd/monitor.go: provisionResponse gains ReceiveURL field so
  /webhook/new responses parse cleanly (webhook returns receive_url
  instead of connection_url).

- cmd/root.go: INSTANT_TOKEN env var takes priority over the saved
  config from 'instanode login'. Lets CI / agents pass a token without
  a login step.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@mastermanas805
mastermanas805 merged commit eada1aa into master May 11, 2026
@mastermanas805
mastermanas805 deleted the feat/instanode-up branch May 11, 2026 08:00
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