feat: Adding project info command to find where project is located

Signed-off-by: Kenneth Lear <teddylear@protonmail.com>
This commit is contained in:
Kenneth Lear
2022-04-04 22:13:45 -04:00
parent f3ac279f73
commit 90d3724d6a
3 changed files with 41 additions and 2 deletions

View File

@@ -2,11 +2,11 @@ setup() {
load 'helpers'
common_setup
TEMPDIR=$(mktemp -d)
}
@test "project init and update" {
@test "project init and update and info" {
cd "$TEMPDIR" || exit
"$DAGGER" project init ./ --name "github.com/foo/bar"
@@ -27,4 +27,8 @@ setup() {
assert_output --partial "generated by dagger"
test ! -f ./cue.mod/pkg/.gitignore
"$DAGGER" project info
assert_output --partial "Current dagger project in"
}