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

Feature: new "enter" command #170

Open
danielhollas opened this issue Mar 12, 2023 · 0 comments
Open

Feature: new "enter" command #170

danielhollas opened this issue Mar 12, 2023 · 0 comments
Labels
enhancement New feature or request

Comments

@danielhollas
Copy link
Contributor

Motivation

When developing and AiiDAlab app, one typically needs to develop inside the AiiDAlab docker container.
Those using VSCode and such can configure connection to the container, but old-school guys like me using vim typically enter the container manually via

docker exec -it -u jovyan aiidalab_default /bin/bash`.

It would be nice if I didn't have to type all of that each time. I have an alias for that, but I am also using multiple aiidalab-launch profiles so the alias approach does not work that well.

Proposal

Create a new enter command that would essentially execute the command above, by using

aiidalab-launch enter -p <profile_name>

The command should error out if the container is not running.

@danielhollas danielhollas added the enhancement New feature or request label Mar 12, 2023
@danielhollas danielhollas changed the title Feature: enter command Feature: new "enter" command Mar 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant