""
This commit is contained in:
parent
04d9661def
commit
9421afcedb
1 changed files with 4 additions and 4 deletions
|
@ -30,7 +30,7 @@ def cd_clone_branch():
|
||||||
print(f"""\
|
print(f"""\
|
||||||
{project.url}
|
{project.url}
|
||||||
↓
|
↓
|
||||||
""", end=str(), flush=True)
|
""", end="", flush=True)
|
||||||
ps.run("git",
|
ps.run("git",
|
||||||
"clone",
|
"clone",
|
||||||
"--branch", project.branch,
|
"--branch", project.branch,
|
||||||
|
@ -50,7 +50,7 @@ def cd_synchronize():
|
||||||
source = "out"
|
source = "out"
|
||||||
user = "cd"
|
user = "cd"
|
||||||
#
|
#
|
||||||
root = os.sep.join([str(),
|
root = os.sep.join(["",
|
||||||
user, project.branch, projects.group, project.name])
|
user, project.branch, projects.group, project.name])
|
||||||
#
|
#
|
||||||
target = f"{user}@{host}:{root}"
|
target = f"{user}@{host}:{root}"
|
||||||
|
@ -125,12 +125,12 @@ def set_ssh(*arguments):
|
||||||
|
|
||||||
|
|
||||||
def open(*arguments):
|
def open(*arguments):
|
||||||
print(env.CD_OPEN, end=str())
|
print(env.CD_OPEN, end="")
|
||||||
print(*arguments, flush=True)
|
print(*arguments, flush=True)
|
||||||
|
|
||||||
|
|
||||||
def shut(*arguments):
|
def shut(*arguments):
|
||||||
print(env.CD_SHUT, end=str())
|
print(env.CD_SHUT, end="")
|
||||||
print(*arguments, flush=True)
|
print(*arguments, flush=True)
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue