Skip to content

Conversation

jyecusch
Copy link
Member

@jyecusch jyecusch commented Jul 11, 2025

The init command allows a user to start a new nitric project from scratch or within an existing application repository.

Closes: NIT-63

Examples:

Happy path:

nitric.init.happy.flow.mp4

When the nitric.yaml already exists

nitric.init.already.exists.flow.mp4

Copy link

vercel bot commented Jul 11, 2025

@jyecusch is attempting to deploy a commit to the Nitric Team on Vercel.

A member of the Team first needs to authorize it.

Copy link

vercel bot commented Jul 11, 2025

The latest updates on your projects. Learn more about Vercel for Git ↗︎

1 Skipped Deployment
Name Status Preview Comments Updated (UTC)
nitric-docs ⬜️ Ignored (Inspect) Visit Preview Jul 11, 2025 6:04am

@davemooreuws
Copy link
Member

Maybe add some welcome text or something informing the user of what is going to happen.

image

@davemooreuws
Copy link
Member

davemooreuws commented Jul 11, 2025

Only create nitric.yaml after all options are selected / set.

Steps:

  1. Do an init in a fresh folder
  2. Enter name and description
  3. Esc the program
  4. Try doing nitric init again
image

@davemooreuws
Copy link
Member

Somehow I hit enter with no name and it does this:

image

@davemooreuws
Copy link
Member

First enter on description does nothing:

Steps:

  1. nitric init
  2. enter project name
  3. hit enter for description
  4. nothing happens
  5. hit enter again
  6. it moves past it

@davemooreuws davemooreuws merged commit ae7a673 into nitrictech:next Jul 11, 2025
4 checks passed
@jyecusch jyecusch deleted the init-cmd branch July 13, 2025 23:32
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.

5 participants