Skip to content

Conversation

shwstppr
Copy link
Contributor

@shwstppr shwstppr commented Aug 22, 2025

Allows searching name for configurations for all *configuration(s) APIs.

⇒  make run                                                                                                                                           allow-configname-autocomplete| 
▶  Running gofmt…
▶  Building executable… 1f24c66
▶  Done!
./bin/cmk
Apache CloudStack 🐵 CloudMonkey 6.4.0
Report issues: https://github.com/apache/cloudstack-cloudmonkey/issues

(test) 🐱 > update configuration name=allow.
allow.additional.vm.configuration.list.kvm (Allow additional vm configuration list kvm)                                                  allow.additional.vm.configuration.list.vmware (Allow additional vm configuration list vmware)                                            
allow.additional.vm.configuration.list.xenserver (Allow additional vm configuration list xenserver)                                      allow.admin.vm.on.disabled.resources (Allow admin vm on disabled resources)                                                              
allow.deploy.vm.if.deploy.on.given.host.fails (Allow deploy vm if deploy on given host fails)                                            allow.diskoffering.change.during.scale.vm (Allow diskoffering change during scale vm)                                                    
allow.domain.admins.to.create.tagged.offerings (Allow domain admins to create tagged offerings)                                          allow.duplicate.networkname (Allow duplicate networkname)                                                                                
allow.empty.start.end.ipaddress (Allow empty start end ipaddress)                                                                        allow.end.users.to.specify.vr.mtu (Allow end users to specify vr mtu)                                                                    
allow.list.metrics.computation (Allow list metrics computation)                                                                          allow.non.rfc1918.compliant.ips (Allow non rfc1918 compliant ips)                                                                        
allow.public.user.templates (Allow public user templates)                                                                                allow.router.on.disabled.resources (Allow router on disabled resources)                                                                  
allow.subdomain.network.access (Allow subdomain network access)                                                                          allow.user.create.projects (Allow user create projects)                                                                                  
allow.user.expunge.recover.vm (Allow user expunge recover vm)                                                                            allow.user.expunge.recover.volume (Allow user expunge recover volume)                                                                    
allow.user.force.stop.vm (Allow user force stop vm)                                                                                      allow.user.list.available.ips.on.shared.network (Allow user list available ips on shared network)                                        
allow.user.view.all.domain.accounts (Allow user view all domain accounts)                                                                allow.user.view.all.zones (Allow user view all zones)                                                                                    
allow.user.view.destroyed.vm (Allow user view destroyed VM) 

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
Copy link

github-actions bot commented Aug 22, 2025

✅ Build complete for PR #184.

🔗 Download the cmk binaries (expires on September 01, 2025)

@DaanHoogland
Copy link
Contributor

nice

@DaanHoogland
Copy link
Contributor

now I am getting spoiled @shwstppr ; can we do completion only on prefixes or is there a chance on completion on infixes as well ;)

Signed-off-by: Abhishek Kumar <abhishek.mrt22@gmail.com>
@shwstppr
Copy link
Contributor Author

now I am getting spoiled @shwstppr ; can we do completion only on prefixes or is there a chance on completion on infixes as well ;)

@DaanHoogland can be done but it would need changes similar to #164 in readline library and would make the whole autocompletion slightly complex

@shwstppr shwstppr added this to the 6.5.0 milestone Aug 25, 2025
Copy link
Contributor

@DaanHoogland DaanHoogland left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

reviewed and tested

@shwstppr shwstppr merged commit 94c1ef7 into apache:main Aug 25, 2025
6 checks passed
@shwstppr shwstppr deleted the allow-configname-autocomplete branch August 25, 2025 09:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants