Closed Pearl1594 closed 1 year ago
Hi @Pearl1594 I've tried using the parameters but could not, could you please tell me what I'm doing wrong?
bstoyanov@MacBookProlocal cloudstack-cloudmonkey % ./bin/cmk -h
usage: cmk [flags] [commands|apis] [-h]
CloudMonkey (cmk) 🐵 is a command line interface for Apache CloudStack.
Allowed flags:
-h Show this help message or API doc when specified after an API
-v Print version
-o API response output format: json, text, table, column, csv
-p Server profile
-d Enable debug mode
-c Different config file path
-u CloudStack's API endpoint URL
-s CloudStack user's secret Key
-a CloudStack user's API Key
Default commands:
exit Exits
help Help
set Configures options for cmk
sync Discovers and updates APIs
version Version info
bstoyanov@MacBookProlocal cloudstack-cloudmonkey % ./bin/cmk set -s secretkey -a apikey
Invalid option provided: -s
bstoyanov@MacBookProlocal cloudstack-cloudmonkey % ./bin/cmk set -s=secretkey -a apikey
Invalid option provided: -s=secretkey
bstoyanov@MacBookProlocal cloudstack-cloudmonkey % ./bin/cmk -s secretkey -a apikey
Apache CloudStack 🐵 CloudMonkey 6.3.0
Report issues: https://github.com/apache/cloudstack-cloudmonkey/issues
(admin) 🐱 > exit
bstoyanov@MacBookProlocal cloudstack-cloudmonkey % ./bin/cmk set -d -s secretkey -a apikey
Invalid option provided: -d
bstoyanov@MacBookProlocal cloudstack-cloudmonkey % ./bin/cmk -v
Apache CloudStack 🐵 CloudMonkey 6.3.0 (build: 6d45f0c, 2023-02-08T15:27:35+0200)
bstoyanov@MacBookProlocal cloudstack-cloudmonkey % ./bin/cmk set profile -s secretkey -a apikey
bstoyanov@MacBookProlocal cloudstack-cloudmonkey % cmk
zsh: command not found: cmk
bstoyanov@MacBookProlocal cloudstack-cloudmonkey % ./bin/cmk
Apache CloudStack 🐵 CloudMonkey 6.3.0
Report issues: https://github.com/apache/cloudstack-cloudmonkey/issues
(-s secretkey -a apikey) 🐱 >
probably Fixes: #104
Closing this PR in favour of #132
Fixes: https://github.com/apache/cloudstack-cloudmonkey/issues/104