Skip to content

T4.3 — Install/init UX: choose devcontainer / direnv / both #641

Closed

Description

@c-vigo

Tracking: #625

Context

Users curl-install/init a repo from this template. They should be able to choose how the
development environment is delivered: a devcontainer, a direnv (flake) setup, or both. Simple
repos want just direnv; orchestrated repos want the container; some want both.

Scope

In:

Out:

Tasks

  • Add interactive mode selection to the install/init script
  • Add a --mode=devcontainer|direnv|both non-interactive flag
  • Wire each mode to scaffold exactly the right file set
  • Document default + prompt copy

Acceptance criteria

  • Each mode scaffolds exactly the right files and nothing else.
  • The non-interactive flag works in CI.

Dependencies

Files

  • assets/init-workspace.sh
  • scripts/init.sh
  • the curl entrypoint
  • docs

Test notes

  • Extend init-workspace.bats with one case per mode (devcontainer / direnv / both).

Related issues

Activity

  1. added
    feature
    area:workspace
    on Jun 23, 2026
  2. c-vigo commented on Jul 2, 2026

    @c-vigo
    ContributorAuthor

    Done via PR #663 (landed on dev through the #625 epic PR #670). Both install.sh and assets/init-workspace.sh support --mode devcontainer|direnv|both (interactive prompt when unset, default both), and each mode prunes to exactly the right file set after scaffold.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    area:workspacefeature

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions