a
This commit is contained in:
parent
a2605ba3d2
commit
81d7e796b2
5 changed files with 115 additions and 16 deletions
16
app/ceph.py
16
app/ceph.py
|
|
@ -1,25 +1,13 @@
|
|||
import click
|
||||
import subprocess
|
||||
import os
|
||||
import shutil
|
||||
import pysftp
|
||||
|
||||
from app.helper import (
|
||||
clone,
|
||||
clone_common,
|
||||
clone_etcd_wrapper,
|
||||
GitOperation,
|
||||
PipenvOperation,
|
||||
FileOperation,
|
||||
)
|
||||
|
||||
|
||||
@click.group()
|
||||
def host():
|
||||
def ceph():
|
||||
pass
|
||||
|
||||
|
||||
@host.command("setup")
|
||||
@ceph.command("setup")
|
||||
@click.option("--ceph_url", required=True)
|
||||
@click.option("--ssh_username", required=True)
|
||||
@click.option("--ssh_key_path", required=True, help="For Example, ~/.ssh/id_rsa")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue