env/step
This commit is contained in:
parent
4be860e4cd
commit
5a55cfba16
1 changed files with 11 additions and 1 deletions
12
cd.sh
12
cd.sh
|
@ -573,6 +573,9 @@ ${CD_PYTHON_PACKAGES}
|
||||||
cd_write_python_module () {
|
cd_write_python_module () {
|
||||||
cd_step "Write Python module"
|
cd_step "Write Python module"
|
||||||
cd_write "${CD_PYTHON_PACKAGES}/env.py" "\
|
cd_write "${CD_PYTHON_PACKAGES}/env.py" "\
|
||||||
|
STEP = ${CD_STEP}
|
||||||
|
|
||||||
|
|
||||||
$(cd_echo CD_OS_ID CD_OS_VERSION)
|
$(cd_echo CD_OS_ID CD_OS_VERSION)
|
||||||
|
|
||||||
|
|
||||||
|
@ -580,7 +583,14 @@ $(cd_echo CD_OPEN CD_SHUT)
|
||||||
|
|
||||||
$(cd_echo CD_HORIZONTAL)
|
$(cd_echo CD_HORIZONTAL)
|
||||||
|
|
||||||
$(cd_echo CD_DOWN CD_SPLIT CD_UP)
|
$(cd_echo CD_SPLIT)
|
||||||
|
|
||||||
|
|
||||||
|
def step(*arguments):
|
||||||
|
STEP += 1
|
||||||
|
print('${CD_DOWN}')
|
||||||
|
print('${CD_BOX_VERTICAL}', STEP, *arguments)
|
||||||
|
print('${CD_UP}', flush=True)
|
||||||
"
|
"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue