Skip to content

dagger project init #1684

Closed
Closed

Description

@talentedmrjones

Comments from discord #dev:dagger project thread:

@shykes says: dagger project init is basically a wrapper for cue mod init. Perhaps it has options to add templates, scaffolding, whatever. All optional features we can add later.

As a basic start, dagger project init will mimic behavior of cue mod init

  • create the following folders and files under the path provided by --project flag (defaults to ./)
    • cue.mod
    • cue.mod/module.cue
    • cue.mod/pkg
    • cue.mod/usr
  • fill module: name with [module] argument

To use: dagger project init -p path/to/project [module] where module is a valid cue module such as github.com/foo/bar

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

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions