Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for Data Studios functionality (add, list, delete, start, connect) #386

Open
robnewman opened this issue Feb 14, 2024 · 1 comment
Labels
API New things that have the API that are not yet supported by the CLI documentation Improvements or additions to documentation enhancement New feature or request

Comments

@robnewman
Copy link
Member

robnewman commented Feb 14, 2024

Add a new command:

tw studios

that interacts with the Data Studios API endpoints. Use the TOWER_WORKSPACE_ID env variable or the --workspace parameter to change the default Workspace used by the CLI (the user Workspace).

tw studios add \
    --name=my_datastudio_name \
    --compute-env=my_aws_ce \
    --cpus=8 \
    --memory=8192 \
    --mount-data=<data-link-1> \
    --mount-data=<data-link-2>               # add a new data studio session to a workspace with one or more data-links mounted, returns the data studio session_id and the data studio collaborate URL
tw studios list                              # list all data studio sessions in a workspace
tw studios delete --name=my_datastudio_name  # delete data studio session from a workspace
tw studios start --name=my_datastudio_name   # start a data studio session
tw studios connect --name=my_datastudio_name # connect to a running data studio session (opens Data Studios Connection in a new browser tab)
@pditommaso
Copy link
Contributor

tw data-studios is boring to type, tw studios can be a better command name

@robnewman robnewman changed the title Add support for Data Studios functionality (add, list, delete) Add support for Data Studios functionality (add, list, delete, start, connect) Feb 16, 2024
@robnewman robnewman added API New things that have the API that are not yet supported by the CLI documentation Improvements or additions to documentation enhancement New feature or request labels Sep 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API New things that have the API that are not yet supported by the CLI documentation Improvements or additions to documentation enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants