Create Kubernetes Ingress object imperatively

Now, in k8s version 1.20+ we can create an Ingress resource from the imperative way like this:
Format:

kubectl create ingress {{ ingress-name }} --rule="host/path=service:port"
Example:
kubectl create ingress ingress-wear --rule="wear.my-online-store.com/wear*=wear-service:80"