aiidalab / aiidalab/aiidalab-launch

Feature: new "enter" command

未關閉
#170 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
enhancement
主要語言
Python
星號
7
分支
4
PR 合併指標
30 天內沒有已合併 PR

描述

## 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

```console
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

```console
aiidalab-launch enter -p
```

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

貢獻指南

開啟貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。