code: func (c *cmd) ixnAction() api.IntentionAction {
  	if c.flagAllow {
  		return api.IntentionActionAllow
  	}
  
  	return api.IntentionActionDeny
  }
docs: // ixnAction returns the api.IntentionAction based on the flag set.