#Fyi, I'm about to push several fixes for

1 messages Β· Page 1 of 1 (latest)

arctic fable
#

ah, one of the fixes being able to use remote modules with dagger shell I'm guessing πŸ™‚

proud comet
#

Nope πŸ™‚ Just validation issues for building the query with the CLI. Not sure about the remote modules issue with shell.

dusk trail
arctic fable
# dusk trail Do you have an example of that not working? Just so we can create an issue for i...

If I run

dagger shell -m github.com/quartz-technology/daggerverse/redis-shell cli --entrypoint /bin/bash

I get

✘ build "dagger shell" ERROR [2.66s]
β”œ [2.66s] loading module
✘ asModule ERROR [0.00s]
β€’ Engine: 160171b2e275 (version v0.9.0)
β§— 4.42s βœ” 28 βˆ… 2 ✘ 2
Error: failed to get loaded module ID: input:1: git.commit.tree.directory.asModule failed to create module from config `.::`: failed to get config file: lstat dagger.json: no such file or directory
#

but if I

git clone https://github.com/quartz-technology/daggerverse.git quartz-technology-daggerverse
cd quartz-technology-daggerverse/redis-shell
dagger shell cli --entrypoint /bin/bash

It works

#

looks like user error πŸ˜„ or confusing UX @dusk trail @proud comet

#

βœ…

dagger shell cli --entrypoint /bin/bash -m github.com/quartz-technology/daggerverse/redis-shell

❌

dagger shell -m github.com/quartz-technology/daggerverse/redis-shell cli --entrypoint /bin/bash
remote trout
#

☝️ the error looks like the same error when I try to use gale remotely yesterday

remote trout
proud comet
#

Global flags like -m and --entrypoint won't be able to be used after the first function argument (for now). So they need to be put up to shell.