changed loop to return flags and commands seperately. runner_test.go tests are failing because of redifining the  flag
changed loop to return flags and commands seperately. runner_test.go tests are failing because of redifining the  flag

rainforestapp/rainforest-cli,rainforestapp/rainforest-cli