Skip to content

Add vex new for creating a project at a destination #50

Closed

Description

@LunaStev

Motivation

vex init only initializes the current directory. A Cargo-like workflow needs a command that creates a named destination safely and derives a valid package name.

Proposed command

vex new <path> [--lib]

Acceptance criteria

  • Validate the destination and package name before creating directories.
  • Refuse non-empty destinations unless an explicitly designed safe mode exists.
  • Reuse the transactional scaffold from Make vex init transactional #33.
  • Produce portable names when the final path component is not a Wave identifier.
  • Define optional Git initialization without assuming it is always wanted.
  • Never overwrite existing data.
  • Add tests for relative, absolute, Unicode, invalid-name, and existing paths.

Activity

  1. added
    feature request
    ui/ux
    on Sep 18, 2026
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

    feature requestui/ux

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions