Skip to content

Implements dagger project init - #1685

Merged
talentedmrjones merged 1 commit into
dagger:mainfrom
talentedmrjones:dagger-project-init
Mar 4, 2022
Merged

talentedmrjones merged 1 commit into
dagger:mainfrom
talentedmrjones:dagger-project-init

Conversation

@talentedmrjones

@talentedmrjones talentedmrjones commented Mar 3, 2022 •

Copy link
Copy Markdown

dagger project init will initialize a new empty Dagger project.

To use:

dagger project init [path] [--name]

path will default to current working directory
--name will default to empty string and used to set module: name in module.cue just like cue mod init

If path does not exist it will be created.

Closes #1684

Signed-off-by: Richard Jones

@netlify

netlify Bot commented Mar 3, 2022 •

Copy link
Copy Markdown

@talentedmrjones talentedmrjones changed the title [WIP] Implements dagger project init Implements dagger project init Mar 4, 2022

@TomChv TomChv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Style comment but LGTM, I like the name project

Comment thread tests/project.bats Resolved
@talentedmrjones
talentedmrjones force-pushed the dagger-project-init branch 4 times, most recently from 0822913 to 2a018ac Compare March 4, 2022 21:12

@aluzzardi aluzzardi left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good, one minor comment

Comment thread cmd/dagger/cmd/project/init.go Resolved
Signed-off-by: Richard Jones <[email protected]>
@talentedmrjones
talentedmrjones merged commit 1f5a890 into dagger:main Mar 4, 2022
@talentedmrjones
talentedmrjones deleted the dagger-project-init branch March 4, 2022 22:58
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.

dagger project init

3 participants