Open
Description
Community Note
- Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
- Please do not leave "+1" or other comments that do not add relevant new information or questions, they generate extra noise for issue followers and do not help prioritize the request
- If you are interested in working on this issue or have submitted a pull request, please leave a comment
Description
Add a command to use a specific namespace.
It could also be a flag. We should be able to input stdin command with it.
How I imagine scw could expose this functionality
shell command:
$ scw shell
>>> use instance server
[instance server]>>> list
ID NAME TYPE
27133f6d-6eda-43c4-95d5-e193f1591337 scw-exciting-swirles PRO2-XXS
flag:
$ scw shell --namespace "instance server"
[instance server]>>> list
ID NAME TYPE
27133f6d-6eda-43c4-95d5-e193f1591337 scw-exciting-swirles PRO2-XXS
Using stdin:
$ scw shell --namespace "instance server" << EOF
list
list state=stopped
list state=running
EOF