This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
dagger/cmd/dagger
Marcos Lilljedahl 868e96d06a Allow to specify template when running dagger project init
Adds the ability to select a template which will create a new file
in the CWD with the template name. Templates present in the
"cmd/dagger/project/templates" directory are automatically embedded in the dagger
binary when building and then listed in the `dagger project init` help output.

Usage:

    dagger project init -t <template_name>

One idea that we had while pairing on this is to eventually try
improving this UX by extending the `dagger project` command by adding
sub-commands like `dagger project templates [list, new, output, ...]`.

Pair: gerhard

Signed-off-by: Marcos Lilljedahl <marcosnils@gmail.com>
2022-04-12 21:03:21 -03:00
..
cmd Allow to specify template when running dagger project init 2022-04-12 21:03:21 -03:00
logger Windows escape sequence fix 2022-03-09 14:05:35 +01:00
main.go cleanup: move packages to top level, change vanity URL 2021-05-25 16:54:00 -07:00