Some commands are not imperatives, but are suggestions, “Have an awesome day!.”
Some imperatives are not formed in commands, Ephesians 4:26. The command is not to get angry, but to not sin.
God’s will is recorded in many forms. Luke 1:13, 31, are formed as a future prediction but are actually requirements of God. Matthew 19:9, has no commands. However, it contains statements and facts about God’s view of marriage. Revelation 21:8 also is command absent yet it includes many moral divine obligations. In John 3:5 Jesus doesn’t command baptism or anything but a necessary fact is comminicated.
The point is that whatever the form God’s will occurs, we must be ready to obey.