Convert /setting to command framework