code: func (cli *NetworkCli) CmdNetworkRm(chain string, args ...string) error {
  	cmd := cli.Subcmd(chain, "rm", "NETWORK", "Deletes a network", false)
  	cmd.Require(flag.Exact, 1)
  	err := cmd.ParseFlags(args, true)
  	if err != nil {
  		return err
  	}
  	id, err := lookupNetworkID(cli, cmd.Arg(0))
  	if err != nil {
  		return err
  	}
  	_, _, err = readBody(cli.call("DELETE", "/networks/"+id, nil, nil))
  	if err != nil {
  		return err
  	}
  	return nil
  }
docs: // CmdNetworkRm handles Network Delete UI