Skip to content

Select default emulator on first run#217

Draft
anisaoshafi wants to merge 3 commits intomainfrom
drg-381-add-option-to-select-default-emulator
Draft

Select default emulator on first run#217
anisaoshafi wants to merge 3 commits intomainfrom
drg-381-add-option-to-select-default-emulator

Conversation

@anisaoshafi
Copy link
Copy Markdown
Contributor

@anisaoshafi anisaoshafi commented Apr 30, 2026

First-time users are prompted to choose their emulator (AWS or Snowflake) before lstk starts (to simulate this, rename or delete config.toml). The choice is saved to the config file immediately.

  • There is a flag --emulator <aws|snowflake> if the user wants to set it explicitly.
  • When run with --non-interactive / no TTY it silently uses the AWS by default.

Switching emulators rewrites the config file in-place.
The old block is commented out rather than deleted, so custom settings are preserved if user wants to switch back.

Screenshot 2026-04-30 at 16 59 20 Note to user they can change to the other emulator: Screenshot 2026-04-30 at 16 59 43

@anisaoshafi anisaoshafi force-pushed the drg-381-add-option-to-select-default-emulator branch from 1968417 to 227174b Compare April 30, 2026 15:09
@anisaoshafi anisaoshafi force-pushed the drg-381-add-option-to-select-default-emulator branch from 4586d62 to 7b8b0c0 Compare April 30, 2026 15:29
@anisaoshafi anisaoshafi force-pushed the drg-381-add-option-to-select-default-emulator branch 5 times, most recently from ce67064 to 4689172 Compare April 30, 2026 18:05
@anisaoshafi anisaoshafi force-pushed the drg-381-add-option-to-select-default-emulator branch from 4689172 to 3b3bac6 Compare April 30, 2026 18:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant