feat: add short-form lit:/// URLs, deprecate studio cp/ls/rm - #137
Conversation
There was a problem hiding this comment.
My initial take - I\m not too sure on the clarity of lit:/// but would be OK supporting it.
Some alternatives:
lit-drive://lit://drive/lit://team/lit://this-team/lit://this-teamspace/lit://teamspace/
Maybe on balance lit:/// is actually the best if we explain it clearly! :)
Also, is this a good time to replace <owner> with <organization> in all the docs? It was quite confusing what "owner" was when I read the docs today to show a client the CLI cp command.
This is an established URL pattern to skip the authority, e.g. |
Nice, good point 👍 |
Allow
lit://URLs of the formlit:///<resource_type>/<path>, which infer the org and teamspace from the context.lightning studio cp/ls/rmcurrently support an undocumented short-form URL of the formlit://<teamspace>/studios/<studio>/<path>orlit://<studio>/<path>. Rather than continuing to support those elsewhere, just mark those commands as deprecated in favour of plaincp/ls/rmwith the new short-form URLs.