We would like to allow users to have more control over how and when remote policies are synchronized
One of the solutions will be introducing sync command:
Maybe we should have an explicit command monokle sync projectId similar to VSC which pulls in the policies in local dir.
The extended workflow would be monokle auth && monokle sync $projectId && monokle validate --config $projectId. But now we start providing shortcuts for that monokle auth && monokle validate --config $projectId where we indicate that projectId will be automatically re-sync. You can opt-out if you use monokle validate --config $projectId --no-sync.
I think the benefit is a short tutorial is clear and explicit how it works under the hood; that you can go and check that directory for all your policies etc; but then we provide the easy use sugar on top for daily usage
We would like to allow users to have more control over how and when remote policies are synchronized
One of the solutions will be introducing
sync
command: