softlayer-python
softlayer-python copied to clipboard
Added csv output format
Issue: #1320
softlayer-python/ () $ slcli --format csv vs list
id,hostname,domain,deviceStatus.name,datacenter,primary_ip,backend_ip,createDate,action
1002,adns,vmware.chechu.com,Running,dal10,48.110,122.174,2020-04-06T05:28:15-06:00,-
1323,easerverh,easerverd.cloud,Running,dal13,227.82,211.196,2022-08-11T10:52:46-06:00,-
1204,fotest,test.local,Running,dal05,148.28,12.198,2021-05-19T12:29:55-06:00,-
1278,lab-web,test.com,Running,dal05,148.27,12.203,2022-02-08T08:31:46-06:00,-
1278,lab-web,test.com,Running,dal05,148.26,12.220,2022-02-08T08:33:12-06:00,-
1023,reserved,example.com,Stopped,dal13,-,-,2020-05-12T14:10:22-06:00,-
1096,techsupport,SoftLayer-Internal-Development-Community.cloud,Running,sao01,169.57.227.67,10.151.109.245,2020-09-25T09:34:12-06:00,-
Note: Possible upgrade options Add option to download the output as a file .csv Add option to change the deliminator, now by default ','
Tables
Nested tables
