Closed SquattingSocrates closed 11 months ago
Overall it looks good to me. Can we add a README section which explains how to use it?
Sure, I'll add a README, no problem.
@SquattingSocrates Can you add the README, I'm having trouble testing the new cli.
This is what I managed to test.
Note that I didn't create a lunatic.toml
not sure how this it is supposed to look when starting a new project.
I've tried by creating an empty lunatic.toml
and running the following
cargo new cli-test
start new projectlunatic init
init the runner to use lunatic and compile to wasmtouch lunatic.toml
lunatic auth -p https://localhost
run auth against local providerBy following the CLI login link I was presented with a prefilled form which is not editable I accept and auth redirects me to /cli/success
but now my lunatic.toml
looks like this.
project_id = ""
project_url = ""
project_name = ""
provider = ""
remote = []
lunatic app list
Error: Failed to find authenticated providerProbably I'm missing an important step :smile:
Hi @kosticmarin! You did everything correctly, but you need to provide the project details. There's a command for setting the current project, listing apps and adding apps etc. I'll get the README ready by the evening today.
But for now, here's an example of how the project_*
properties look like:
project_id = "2"
project_url = "project/2/env/2"
project_name = "some new project"
This code cannot access the
~
directory: