`add workspace` without --create flag - What is this exactly
I have an existing workspace in docker-self-hosted windmill application.
On cli, I ran
wmill add <workspace-name> <workspace-id> <remote-url>
I could not find my workspace-name, so randomly added any text
workspace-id was correct
remote-url I kept https://abc.example.com , supose I am hosting windmill at https://abc.example.com (could not find link to workspace directly) . In this url, I can see my other workspace and when I select one, i gets switched to it but in url no special workspace name is appended like https://abc.example.com/workspace-id . It remains https://abc.example.com only
this command ran successfully
Then i ran wmill workspaces
, I saw a table in terminal mentioning the workspace name
But when I ran ls
, current directory is still empty, I was expecting some folder to be created of that added workspace
Please help. Thanks in advance!6 Replies
I think I got the answer.
add
adds the workspace to some internal cli list of workspaces
You have to do pull
to actually pull its content into current directory.You were too fast
Sync | Windmill
Synchronizing folders & git repositories to a Windmill instance is made easy
Document could have been a bit clearer, that
add
will not get the content locally , push
will
also documentation for add
should come first, then sync push/pull
@rubenfThanks for the feedback. We accept contributions: https://github.com/windmill-labs/windmilldocs 🙂
GitHub
GitHub - windmill-labs/windmilldocs
Contribute to windmill-labs/windmilldocs development by creating an account on GitHub.
@rubenf sure will try
can you check the post above this one please.