sacloud / usacloud

usacloud:rabbit: : CLI client for the Sakura Cloud:cherry_blossom::cloud:
Apache License 2.0
54 stars 13 forks source link

プログレス表示/確認ダイアログでのゾーン名表示 #577

Closed yamamoto-febc closed 4 years ago

yamamoto-febc commented 4 years ago

related #576

複数ゾーン一括操作の際に対象ゾーンも表示されて欲しい

現在の表示

createの例

$ usacloud disk create --zone=all --name "example"

Are you sure you want to create?(y/n) [n]: y

# 以下がプログレス表示
disk/create: started...
disk/create: started...
disk/create: started...
disk/create: started...
disk/create: started...
disk/create: done
disk/create: done
disk/create: done
disk/create: done
    disk/create: 10s elapsed
disk/create: done

その他の操作の例

$ usacloud disk rm --zone=all "example"

Target resource IDs => [
    000000000001,
    000000000002,
    000000000003,
    000000000004,
    000000000005
]
Are you sure you want to delete?(y/n) [n]: y

disk/delete(ID: 000000000001): started...
disk/delete(ID: 000000000002): started...
disk/delete(ID: 000000000003): started...
disk/delete(ID: 000000000004): started...
disk/delete(ID: 000000000005): started...
disk/delete(ID: 000000000001): done
disk/delete(ID: 000000000002): done
disk/delete(ID: 000000000003): done
disk/delete(ID: 000000000004): done
    disk/delete(ID: 000000000005): 10s elapsed
    disk/delete(ID: 000000000005): 20s elapsed
disk/delete(ID: 000000000005): done
yamamoto-febc commented 4 years ago

580 で対応済み